aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-09-03 18:43:44 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-09-03 18:43:44 -0700
commitf7d9523c7da3c193dd0216fa00e62a940d0d174d (patch)
tree39e1f594d6c18dcd7810853e26190609d9289541
parent2a7ff3018b8f82013c739eb70cd02c51737211bb (diff)
downloadvolse-hubzilla-f7d9523c7da3c193dd0216fa00e62a940d0d174d.tar.gz
volse-hubzilla-f7d9523c7da3c193dd0216fa00e62a940d0d174d.tar.bz2
volse-hubzilla-f7d9523c7da3c193dd0216fa00e62a940d0d174d.zip
export chatrooms
-rw-r--r--include/identity.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/identity.php b/include/identity.php
index ca4c009c8..1a2a9c177 100644
--- a/include/identity.php
+++ b/include/identity.php
@@ -577,6 +577,12 @@ function identity_basic_export($channel_id, $items = false) {
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;