aboutsummaryrefslogtreecommitdiffstats
path: root/include/zot.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-09-07 21:01:49 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-09-07 21:01:49 -0700
commit650e98b2a9aff2f54be84782ac48cc57badbf76f (patch)
tree4992bd3083726c5bc8f570a250321f7ccbf573de /include/zot.php
parent508969a183669b0f1f9cf60b06a68d5b51b501d1 (diff)
downloadvolse-hubzilla-650e98b2a9aff2f54be84782ac48cc57badbf76f.tar.gz
volse-hubzilla-650e98b2a9aff2f54be84782ac48cc57badbf76f.tar.bz2
volse-hubzilla-650e98b2a9aff2f54be84782ac48cc57badbf76f.zip
work on event sync
Diffstat (limited to 'include/zot.php')
-rw-r--r--include/zot.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/zot.php b/include/zot.php
index 6f159b4f8..285668209 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -2882,7 +2882,13 @@ function process_channel_sync_delivery($sender, $arr, $deliveries) {
sync_apps($channel,$arr['app']);
if(array_key_exists('chatroom',$arr) && $arr['chatroom'])
- sync_apps($channel,$arr['chatroom']);
+ sync_chatrooms($channel,$arr['chatroom']);
+
+ if(array_key_exists('event',$arr) && $arr['event'])
+ sync_events($channel,$arr['event']);
+
+ if(array_key_exists('event_item',$arr) && $arr['event_item'])
+ sync_items($channel,$arr['event_item']);
if(array_key_exists('item',$arr) && $arr['item'])
sync_items($channel,$arr['item']);