We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit b3210ee6 authored by Brion Vibber's avatar Brion Vibber

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

parent 1685c8a4
......@@ -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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment