aboutsummaryrefslogtreecommitdiffstats
path: root/include/identity.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 /include/identity.php
parentd93e1c84acd07188e8cba06249b11840d562d011 (diff)
downloadvolse-hubzilla-d79e81a0697617b5552917c2fe169b30433c54f6.tar.gz
volse-hubzilla-d79e81a0697617b5552917c2fe169b30433c54f6.tar.bz2
volse-hubzilla-d79e81a0697617b5552917c2fe169b30433c54f6.zip
import and sync chatrooms
Diffstat (limited to 'include/identity.php')
-rw-r--r--include/identity.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/identity.php b/include/identity.php
index c3f59b371..393378cc4 100644
--- a/include/identity.php
+++ b/include/identity.php
@@ -566,13 +566,18 @@ function identity_basic_export($channel_id, $items = false) {
if($r)
$ret['obj'] = $r;
-
$r = q("select * from app where app_channel = %d",
intval($channel_id)
);
if($r)
$ret['app'] = $r;
+ $r = q("select * from chatroom where cr_uid = %d",
+ intval($channel_id)
+ );
+ if($r)
+ $ret['chatroom'] = $r;
+
if(! $items)
return $ret;