$this->setId($self);
$this->setSelfLink($self);
- // For groups, we generate an author _AND_ an <activity:subject>
- // Versions of StatusNet under 0.9.7 treat <author> 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());
}
$attrs['member_count'] = $this->group->getMemberCount();
- $this->element('statusnet:group_info', $attrs, null);
+ $this->element('statusnet:group_info', $attrs);
}
}