From: Michael Date: Fri, 3 Jun 2022 17:40:06 +0000 (+0000) Subject: Fix: Like/Dislike/Reshare actions should now be visible X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0aee9a054a407484a81f99cc10f8fc9e2e1e35fd;p=friendica.git Fix: Like/Dislike/Reshare actions should now be visible --- diff --git a/mod/display.php b/mod/display.php index 57696ce076..6c04d9d7fa 100644 --- a/mod/display.php +++ b/mod/display.php @@ -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); } } diff --git a/src/Content/Conversation.php b/src/Content/Conversation.php index 79067d3f32..e30b809ae2 100644 --- a/src/Content/Conversation.php +++ b/src/Content/Conversation.php @@ -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); }