diff options
author | zotlabs <mike@macgirvin.com> | 2019-01-10 23:02:58 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2019-01-11 12:20:50 +0100 |
commit | 57dde3e980fcdb6937da4862c0bcc9914f2df24b (patch) | |
tree | 70845dc25844fd4924a080c9fab440de6f4fecd9 | |
parent | 3eba0c2297d8f15ea47b0d481f9392fe6c9ecc7e (diff) | |
download | volse-hubzilla-57dde3e980fcdb6937da4862c0bcc9914f2df24b.tar.gz volse-hubzilla-57dde3e980fcdb6937da4862c0bcc9914f2df24b.tar.bz2 volse-hubzilla-57dde3e980fcdb6937da4862c0bcc9914f2df24b.zip |
failure to import mail
(cherry picked from commit 7b30fc4b82da0a64e152cdeb82564f8d52b7177e)
-rw-r--r-- | include/import.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/import.php b/include/import.php index 6476aa688..5c0cb9bed 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)); |