Merge pull request #11596 from annando/visible-activities

Fix: Like/Dislike/Reshare actions should now be visible
This commit is contained in:
Hypolite Petovan 2022-06-03 15:54:49 -04:00 committed by GitHub
commit 6e3b5d251e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -115,6 +115,7 @@ function display_init(App $a)
if (\Friendica\Util\Network::isLocalLink($author['url'])) {
\Friendica\Model\Profile::load(DI::app(), $author['nick'], false);
} else {
$a->setProfileOwner($item['uid']);
DI::page()['aside'] = Widget\VCard::getHTML($author);
}
}

View file

@ -819,7 +819,7 @@ class Conversation
{
$this->profiler->startRecording('rendering');
if ($row['uid'] == 0) {
if (!$row['writable']) {
$row['writable'] = in_array($row['network'], Protocol::FEDERATED);
}