mirror of
https://github.com/friendica/friendica
synced 2024-11-14 03:42:53 +00:00
Merge pull request #11596 from annando/visible-activities
Fix: Like/Dislike/Reshare actions should now be visible
This commit is contained in:
commit
6e3b5d251e
2 changed files with 2 additions and 1 deletions
|
@ -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 a new issue