Add group link on Yammer import (won't work until memberships are fixed)
This commit is contained in:
parent
1685c8a4fa
commit
b3210ee64c
@ -289,6 +289,12 @@ class YammerImporter
|
|||||||
$groupId = $this->findImportedGroup($item['group_id']);
|
$groupId = $this->findImportedGroup($item['group_id']);
|
||||||
if ($groupId) {
|
if ($groupId) {
|
||||||
$options['groups'] = array($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