]> git.mxchange.org Git - friendica.git/commitdiff
Always show dislikes - the setting now just hides the button
authorMichael <heluecht@pirati.ca>
Sun, 19 Nov 2017 09:55:45 +0000 (09:55 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 19 Nov 2017 09:55:45 +0000 (09:55 +0000)
src/Core/Item.php

index 20d4db0055e06770728ad82bba9b5fb823fc17d6..49f060338c5b1ad1cf3794878710b7927ea90380 100644 (file)
@@ -217,10 +217,7 @@ class Item extends BaseObject
                }*/
 
                // process action responses - e.g. like/dislike/attend/agree/whatever
-               $response_verbs = array('like');
-               if (feature_enabled($conv->get_profile_owner(), 'dislike')) {
-                       $response_verbs[] = 'dislike';
-               }
+               $response_verbs = array('like', 'dislike');
 
                if ($item['object-type'] === ACTIVITY_OBJ_EVENT) {
                        $response_verbs[] = 'attendyes';