aboutsummaryrefslogtreecommitdiffstats
path: root/mod/import.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-09-03 18:44:40 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-09-03 18:44:40 -0700
commitd79e81a0697617b5552917c2fe169b30433c54f6 (patch)
tree77fb93e47bd18d8fab477aa5f5abe3ee79a3a452 /mod/import.php
parentd93e1c84acd07188e8cba06249b11840d562d011 (diff)
downloadvolse-hubzilla-d79e81a0697617b5552917c2fe169b30433c54f6.tar.gz
volse-hubzilla-d79e81a0697617b5552917c2fe169b30433c54f6.tar.bz2
volse-hubzilla-d79e81a0697617b5552917c2fe169b30433c54f6.zip
import and sync chatrooms
Diffstat (limited to 'mod/import.php')
-rw-r--r--mod/import.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/import.php b/mod/import.php
index 391461687..1d1799e00 100644
--- a/mod/import.php
+++ b/mod/import.php
@@ -435,6 +435,9 @@ function import_post(&$a) {
if(is_array($data['app']))
import_apps($channel,$data['app']);
+ if(is_array($data['chatroom']))
+ import_chatrooms($channel,$data['chatroom']);
+
$saved_notification_flags = notifications_off($channel['channel_id']);
if($import_posts && array_key_exists('item',$data) && $data['item']) {