]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
show system list items for fave/unfave
authorEvan Prodromou <evan@status.net>
Wed, 24 Aug 2011 22:12:02 +0000 (18:12 -0400)
committerEvan Prodromou <evan@status.net>
Wed, 24 Aug 2011 22:12:02 +0000 (18:12 -0400)
plugins/Activity/ActivityPlugin.php

index 0423a791e4216c514d1fec62675b5a4c887472f2..a97cf51e326186046d0e1c4908613a16ea07dc05 100644 (file)
@@ -289,6 +289,10 @@ class ActivityPlugin extends Plugin
                $adapter = null;
                
                switch ($notice->verb) {
+        case ActivityVerb::FAVORITE:
+        case ActivityVerb::UNFAVORITE:
+                       $adapter = new SystemListItem($nli);
+                       break;
                case ActivityVerb::JOIN:
                        $adapter = new JoinListItem($nli);
                        break;