From 650e98b2a9aff2f54be84782ac48cc57badbf76f Mon Sep 17 00:00:00 2001 From: redmatrix Date: Mon, 7 Sep 2015 21:01:49 -0700 Subject: work on event sync --- mod/import.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'mod/import.php') diff --git a/mod/import.php b/mod/import.php index 13d684f6e..27c2094c3 100644 --- a/mod/import.php +++ b/mod/import.php @@ -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']) -- cgit v1.2.3