X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fatomgroupnoticefeed.php;h=5b6fcf42952b1e24ee255234b16157907b8cfb07;hb=f9d82a6ac588bfc5458d063d172513263eac0073;hp=4e7f992662d53657fa6677018a902fdbe0dbb71d;hpb=32eb4c5e2d13ff527494a1ca84e326fcf52cb5cb;p=quix0rs-gnu-social.git diff --git a/lib/atomgroupnoticefeed.php b/lib/atomgroupnoticefeed.php index 4e7f992662..5b6fcf4295 100644 --- a/lib/atomgroupnoticefeed.php +++ b/lib/atomgroupnoticefeed.php @@ -85,14 +85,9 @@ class AtomGroupNoticeFeed extends AtomNoticeFeed $this->setId($self); $this->setSelfLink($self); - // For groups, we generate an author _AND_ an - // Versions of StatusNet under 0.9.7 treat as a person - // XXX: remove this workaround in future versions - $ao = ActivityObject::fromGroup($group); - $this->addAuthorRaw($ao->asString('author'). - $ao->asString('activity:subject')); + $this->addAuthorRaw($ao->asString('author')); $this->addLink($group->homeUrl()); }