Fix: Like/Dislike/Reshare actions should now be visible
This commit is contained in:
parent
e4c13bb1c7
commit
0aee9a054a
|
@ -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