X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fatomgroupnoticefeed.php;h=945d9fca2f54be2bc7f21da03b6e3f867d7d284d;hb=1536d3ef29486fc1c5387e73106b86873fdb7cf9;hp=39a1fd456efa02a3a89f553d4469f8ddbbf705a2;hpb=819d33210d298de74b64dc7ead79e9d9b223b12e;p=quix0rs-gnu-social.git diff --git a/lib/atomgroupnoticefeed.php b/lib/atomgroupnoticefeed.php index 39a1fd456e..945d9fca2f 100644 --- a/lib/atomgroupnoticefeed.php +++ b/lib/atomgroupnoticefeed.php @@ -85,8 +85,9 @@ class AtomGroupNoticeFeed extends AtomNoticeFeed $this->setId($self); $this->setSelfLink($self); - $this->addAuthorRaw($group->asAtomAuthor()); - $this->setActivitySubject($group->asActivitySubject()); + $ao = ActivityObject::fromGroup($group); + + $this->addAuthorRaw($ao->asString('author')); $this->addLink($group->homeUrl()); } @@ -113,6 +114,6 @@ class AtomGroupNoticeFeed extends AtomNoticeFeed $attrs['member_count'] = $this->group->getMemberCount(); - $this->element('statusnet:group_info', $attrs, null); + $this->element('statusnet:group_info', $attrs); } }