Commit 57dde3e9 authored by Zot's avatar Zot Committed by Mario

failure to import mail


(cherry picked from commit 7b30fc4b)
parent 3eba0c22
Pipeline #102886 passed with stage
in 6 minutes and 47 seconds
...@@ -1035,8 +1035,9 @@ function import_mail($channel, $mails, $sync = false) { ...@@ -1035,8 +1035,9 @@ function import_mail($channel, $mails, $sync = false) {
if(! $m) if(! $m)
continue; continue;
$m['aid'] = $channel['channel_account_id']; $m['account_id'] = $channel['channel_account_id'];
$m['uid'] = $channel['channel_id']; $m['channel_id'] = $channel['channel_id'];
$mail_id = mail_store($m); $mail_id = mail_store($m);
if($sync && $mail_id) { if($sync && $mail_id) {
Zotlabs\Daemon\Master::Summon(array('Notifier','single_mail',$mail_id)); Zotlabs\Daemon\Master::Summon(array('Notifier','single_mail',$mail_id));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment