diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-09-03 18:44:40 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-09-03 18:44:40 -0700 |
commit | d79e81a0697617b5552917c2fe169b30433c54f6 (patch) | |
tree | 77fb93e47bd18d8fab477aa5f5abe3ee79a3a452 /include/identity.php | |
parent | d93e1c84acd07188e8cba06249b11840d562d011 (diff) | |
download | volse-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.php | 7 |
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; |