]> git.mxchange.org Git - friendica.git/blobdiff - src/Object/Post.php
Merge remote-tracking branch 'upstream/develop' into ap1
[friendica.git] / src / Object / Post.php
index c52078e521ef046150abb72fcb96782bb2ef0603..efd7d4dc8de3d1101da3f381b1f9895214ca0c8e 100644 (file)
@@ -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 = '';