Merge pull request #11596 from annando/visible-activities
Fix: Like/Dislike/Reshare actions should now be visible
This commit is contained in:
commit
6e3b5d251e
|
@ -115,6 +115,7 @@ function display_init(App $a)
|
||||||
if (\Friendica\Util\Network::isLocalLink($author['url'])) {
|
if (\Friendica\Util\Network::isLocalLink($author['url'])) {
|
||||||
\Friendica\Model\Profile::load(DI::app(), $author['nick'], false);
|
\Friendica\Model\Profile::load(DI::app(), $author['nick'], false);
|
||||||
} else {
|
} else {
|
||||||
|
$a->setProfileOwner($item['uid']);
|
||||||
DI::page()['aside'] = Widget\VCard::getHTML($author);
|
DI::page()['aside'] = Widget\VCard::getHTML($author);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -819,7 +819,7 @@ class Conversation
|
||||||
{
|
{
|
||||||
$this->profiler->startRecording('rendering');
|
$this->profiler->startRecording('rendering');
|
||||||
|
|
||||||
if ($row['uid'] == 0) {
|
if (!$row['writable']) {
|
||||||
$row['writable'] = in_array($row['network'], Protocol::FEDERATED);
|
$row['writable'] = in_array($row['network'], Protocol::FEDERATED);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user