Fix federation issue with groups (bad list order)

This commit is contained in:
Mikael Nordfeldth 2015-11-08 23:31:23 +01:00
parent 844670f88d
commit acd4980ab4

View File

@ -1341,7 +1341,7 @@ class OStatusPlugin extends Plugin
public function onGetLocalAttentions(Profile $actor, array $attention_uris, array &$mentions, array &$groups) 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? // FIXME: Maybe this shouldn't be so authoritative that it breaks other remote profile lookups?