Conversations are working now too
This commit is contained in:
parent
9ae2b2292f
commit
3734555715
|
@ -918,7 +918,7 @@ class diaspora {
|
||||||
return $message_id;
|
return $message_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
private function receive_conversation_message($importer, $contact, $data, $msg, $mesg) {
|
private function receive_conversation_message($importer, $contact, $data, $msg, $mesg, $conversation) {
|
||||||
$guid = notags(unxmlify($data->guid));
|
$guid = notags(unxmlify($data->guid));
|
||||||
$subject = notags(unxmlify($data->subject));
|
$subject = notags(unxmlify($data->subject));
|
||||||
$author = notags(unxmlify($data->author));
|
$author = notags(unxmlify($data->author));
|
||||||
|
@ -1086,7 +1086,7 @@ class diaspora {
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach($messages as $mesg)
|
foreach($messages as $mesg)
|
||||||
self::receive_conversation_message($importer, $contact, $data, $msg, $mesg);
|
self::receive_conversation_message($importer, $contact, $data, $msg, $mesg, $conversation);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue