diff options
author | Brion Vibber <brion@pobox.com> | 2010-02-25 13:02:08 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-02-25 13:02:08 -0800 |
commit | b5b5184c885e74d9532409a5962f851c4baf41c4 (patch) | |
tree | aaf0aae0468ff15bd61ad8f4234020ae40e1bd19 /classes | |
parent | 7e0872c7ca9827220ad9859abaeea268c9d4fee6 (diff) |
OStatus: fix remote groups to work with new user_groups/local_groups split.
- fix <activity:subject> generation so we get the profile info (what's available so far)
- use id instead of nickname for group join/leave forms so we can join/leave remote groups
while the rest of the groups UI remains limited to local groups
(plugins are responsible for making sure remote notifications and permission checks are done)
- fix remote notification when joining group through OStatus's remote subscribe form
Diffstat (limited to 'classes')
-rw-r--r-- | classes/User_group.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/User_group.php b/classes/User_group.php index f24bef764..2a58d8895 100644 --- a/classes/User_group.php +++ b/classes/User_group.php @@ -404,7 +404,7 @@ class User_group extends Memcached_DataObject $xs = new XMLStringer(true); $xs->elementStart('activity:subject'); - $xs->element('activity:object', null, 'http://activitystrea.ms/schema/1.0/group'); + $xs->element('activity:object-type', null, 'http://activitystrea.ms/schema/1.0/group'); $xs->element('id', null, $this->permalink()); $xs->element('title', null, $this->getBestName()); $xs->element( |