]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
group_member includes self link, edit link
authorEvan Prodromou <evan@status.net>
Mon, 13 Dec 2010 17:40:44 +0000 (12:40 -0500)
committerEvan Prodromou <evan@status.net>
Mon, 13 Dec 2010 17:40:44 +0000 (12:40 -0500)
classes/Group_member.php

index c40d06a1db0ebf99c61ea22ad80b438ac3cf1eff..e513f6f3b22273209f26b9c57561c733e7d41a69 100644 (file)
@@ -118,6 +118,13 @@ class Group_member extends Memcached_DataObject
                                 $member->getBestName(),
                                 $group->getBestName());
 
+        $url = common_local_url('AtomPubShowMembership',
+                                array('profile' => $member->id,
+                                      'group' => $group->id));
+
+        $act->selfLink = $url;
+        $act->editLink = $url;
+
         return $act;
     }
 }