]> git.mxchange.org Git - friendica.git/commitdiff
Fix: Like/Dislike/Reshare actions should now be visible
authorMichael <heluecht@pirati.ca>
Fri, 3 Jun 2022 17:40:06 +0000 (17:40 +0000)
committerMichael <heluecht@pirati.ca>
Fri, 3 Jun 2022 17:40:06 +0000 (17:40 +0000)
mod/display.php
src/Content/Conversation.php

index 57696ce07690992e5cc329a097671ceed39e24b8..6c04d9d7fa2cdc4db548e01dbcefd8b7723f939d 100644 (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);
        }
 }
index 79067d3f32ad35fd0eaf1c8c38f005dfffb5787a..e30b809ae216993950272b83786fa44df114d6f0 100644 (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);
                }