- 'title' => sprintf(_('%s timeline'), $group->nickname),
- 'link' => common_local_url('showgroup', array('nickname' => $group->nickname)),
- // TRANS: Message is used as link description. %1$s is a username, %2$s is a site name.
+ 'title' => sprintf(_('%s timeline'), $this->target->getNickname()),
+ 'link' => common_local_url('showgroup', array('nickname' => $this->target->getNickname())),
+ // TRANS: Message is used as link description. %1$s is a group name, %2$s is a site name.