Add group link on Yammer import (won't work until memberships are fixed)
This commit is contained in:
		@@ -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;
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user