sforkowany z mirror/friendica
Set thr-parent when importing mails
rodzic
9a4128a5c8
commit
ae684b4938
|
@ -245,7 +245,7 @@ class OnePoll
|
||||||
$datarray['network'] = Protocol::MAIL;
|
$datarray['network'] = Protocol::MAIL;
|
||||||
// $meta = Email::messageMeta($mbox, $msg_uid);
|
// $meta = Email::messageMeta($mbox, $msg_uid);
|
||||||
|
|
||||||
$datarray['uri'] = Email::msgid2iri(trim($meta->message_id, '<>'));
|
$datarray['thr-parent'] = $datarray['uri'] = Email::msgid2iri(trim($meta->message_id, '<>'));
|
||||||
|
|
||||||
// Have we seen it before?
|
// Have we seen it before?
|
||||||
$fields = ['deleted', 'id'];
|
$fields = ['deleted', 'id'];
|
||||||
|
|
Ładowanie…
Reference in New Issue