aboutsummaryrefslogtreecommitdiffstats
path: root/include/import.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2019-01-10 15:02:58 -0800
committerzotlabs <mike@macgirvin.com>2019-01-10 15:02:58 -0800
commit7b30fc4b82da0a64e152cdeb82564f8d52b7177e (patch)
treeff3fb5b2af9510b1a3e66e541f74ee4ac5d090a4 /include/import.php
parent39de8e28da6f24530ee898d6b7a89e96547d283e (diff)
downloadvolse-hubzilla-7b30fc4b82da0a64e152cdeb82564f8d52b7177e.tar.gz
volse-hubzilla-7b30fc4b82da0a64e152cdeb82564f8d52b7177e.tar.bz2
volse-hubzilla-7b30fc4b82da0a64e152cdeb82564f8d52b7177e.zip
failure to import mail
Diffstat (limited to 'include/import.php')
-rw-r--r--include/import.php5
1 files 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));