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:
parent
7ffaf82348
commit
37c67c3f9f
@ -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?
|
||||
|
Loading…
Reference in New Issue
Block a user