From 7b30fc4b82da0a64e152cdeb82564f8d52b7177e Mon Sep 17 00:00:00 2001 From: zotlabs Date: Thu, 10 Jan 2019 15:02:58 -0800 Subject: failure to import mail --- include/import.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/import.php b/include/import.php index 53b21c317..3bd8b4105 100644 --- a/include/import.php +++ b/include/import.php @@ -1035,8 +1035,9 @@ function import_mail($channel, $mails, $sync = false) { if(! $m) continue; - $m['aid'] = $channel['channel_account_id']; - $m['uid'] = $channel['channel_id']; + $m['account_id'] = $channel['channel_account_id']; + $m['channel_id'] = $channel['channel_id']; + $mail_id = mail_store($m); if($sync && $mail_id) { Zotlabs\Daemon\Master::Summon(array('Notifier','single_mail',$mail_id)); -- cgit v1.2.3