forked from GNUsocial/gnu-social
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
db5a4ce70d
commit
9652e77376
@ -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