work on event sync

This commit is contained in:
redmatrix
2015-09-07 21:01:49 -07:00
parent 508969a183
commit 650e98b2a9
3 changed files with 89 additions and 1 deletions

View File

@@ -438,6 +438,13 @@ function import_post(&$a) {
if(is_array($data['chatroom']))
import_chatrooms($channel,$data['chatroom']);
if(is_array($data['event']))
import_events($channel,$data['event']);
if(is_array($data['event_item']))
import_items($channel,$data['event_item']);
$saved_notification_flags = notifications_off($channel['channel_id']);
if($import_posts && array_key_exists('item',$data) && $data['item'])