diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/YammerImport/yammerimporter.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/YammerImport/yammerimporter.php b/plugins/YammerImport/yammerimporter.php index fb88fc506..bb6db7352 100644 --- a/plugins/YammerImport/yammerimporter.php +++ b/plugins/YammerImport/yammerimporter.php @@ -241,6 +241,13 @@ class YammerImporter } $options['created'] = $this->timestamp($item['created_at']); + if ($item['group_id']) { + $groupId = $this->findImportedGroup($item['group_id']); + if ($groupId) { + $options['groups'] = array($groupId); + } + } + $faves = array(); foreach ($item['liked_by']['names'] as $liker) { // "permalink" is the username. wtf? |