aboutsummaryrefslogtreecommitdiffstats
path: root/include/zot.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-10-14 17:40:50 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-10-14 17:40:50 -0700
commitb33a9a71f6d13efb68d140ecbc41cc442564cde0 (patch)
tree42f68fd1b5df56bd7995f15898f71bc4e5df8128 /include/zot.php
parent8af3dc140e34094ce101f050feb3da2b8b39470b (diff)
downloadvolse-hubzilla-b33a9a71f6d13efb68d140ecbc41cc442564cde0.tar.gz
volse-hubzilla-b33a9a71f6d13efb68d140ecbc41cc442564cde0.tar.bz2
volse-hubzilla-b33a9a71f6d13efb68d140ecbc41cc442564cde0.zip
more work on import & sync of private mail and conversations
Diffstat (limited to 'include/zot.php')
-rw-r--r--include/zot.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/zot.php b/include/zot.php
index dd9222bf3..b1cb5a8ec 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -3002,6 +3002,12 @@ function process_channel_sync_delivery($sender, $arr, $deliveries) {
if(array_key_exists('chatroom',$arr) && $arr['chatroom'])
sync_chatrooms($channel,$arr['chatroom']);
+ if(array_key_exists('conv',$arr) && $arr['conv'])
+ import_conv($channel,$arr['conv']);
+
+ if(array_key_exists('mail',$arr) && $arr['mail'])
+ import_mail($channel,$arr['mail']);
+
if(array_key_exists('event',$arr) && $arr['event'])
sync_events($channel,$arr['event']);