diff options
author | Brion Vibber <brion@pobox.com> | 2010-09-21 18:21:36 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-09-21 18:21:36 -0700 |
commit | 0ed506ee9384f95bd01cdcd72a253d08ae89b92e (patch) | |
tree | 593b4cb0b51320f9bdbb9b3eee1773f0e35092c8 /plugins/YammerImport | |
parent | da87d4334ab7ffb1dd76fc58b8ac6384597dd1e7 (diff) |
Add group link on Yammer import (won't work until memberships are fixed)
Diffstat (limited to 'plugins/YammerImport')
-rw-r--r-- | plugins/YammerImport/yammerimporter.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/YammerImport/yammerimporter.php b/plugins/YammerImport/yammerimporter.php index 583ed3a8c..6dc72f476 100644 --- a/plugins/YammerImport/yammerimporter.php +++ b/plugins/YammerImport/yammerimporter.php @@ -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; + } } } |