Yammer import: mark group posts with the proper group inbox (should we append a !foo or leave them as is, as current?)

This commit is contained in:
Brion Vibber 2010-09-21 17:35:32 -07:00
parent db5a4ce70d
commit 9652e77376

View File

@ -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?