forked from GNUsocial/gnu-social
Add group link on Yammer import (won't work until memberships are fixed)
This commit is contained in:
parent
da87d4334a
commit
0ed506ee93
@ -289,6 +289,12 @@ class YammerImporter
|
||||
$groupId = $this->findImportedGroup($item['group_id']);
|
||||
if ($groupId) {
|
||||
$options['groups'] = array($groupId);
|
||||
|
||||
// @fixme if we see a group link inline, don't add this?
|
||||
$group = User_group::staticGet('id', $groupId);
|
||||
if ($group) {
|
||||
$content .= ' !' . $group->nickname;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user