Add group link on Yammer import (won't work until memberships are fixed)

This commit is contained in:
Brion Vibber 2010-09-21 18:21:36 -07:00
parent 1685c8a4fa
commit b3210ee64c
1 changed files with 6 additions and 0 deletions

View File

@ -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;
}
}
}