]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix federation issue with groups (bad list order)
authorMikael Nordfeldth <mmn@hethane.se>
Sun, 8 Nov 2015 22:31:23 +0000 (23:31 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Sun, 8 Nov 2015 22:31:23 +0000 (23:31 +0100)
plugins/OStatus/OStatusPlugin.php

index f14c3057ddb49197755ad7601119e649ac5664b5..ef9a275ea47acb869bb1da4d393e73887f4eacd7 100644 (file)
@@ -1341,7 +1341,7 @@ class OStatusPlugin extends Plugin
 
     public function onGetLocalAttentions(Profile $actor, array $attention_uris, array &$mentions, array &$groups)
     {
-        list($mentions, $groups) = Ostatus_profile::filterAttention($actor, $attention_uris);
+        list($groups, $mentions) = Ostatus_profile::filterAttention($actor, $attention_uris);
     }
 
     // FIXME: Maybe this shouldn't be so authoritative that it breaks other remote profile lookups?