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 da87d4334a
commit 0ed506ee93

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