mirror of
https://github.com/friendica/friendica
synced 2025-04-24 21:50:10 +00:00
We can now like and dislike
This commit is contained in:
parent
a56565fa99
commit
6df6d82427
4 changed files with 52 additions and 34 deletions
|
@ -324,7 +324,7 @@ class Post extends BaseObject
|
|||
$owner_name_e = $this->getOwnerName();
|
||||
|
||||
// Disable features that aren't available in several networks
|
||||
if (!in_array($item["network"], [Protocol::DFRN, Protocol::DIASPORA]) && isset($buttons["dislike"])) {
|
||||
if (!in_array($item["network"], [Protocol::ACTIVITYPUB, Protocol::DFRN, Protocol::DIASPORA]) && isset($buttons["dislike"])) {
|
||||
unset($buttons["dislike"]);
|
||||
$isevent = false;
|
||||
$tagger = '';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue