diff options
author | Mario Vavti <mario@mariovavti.com> | 2015-10-14 22:57:03 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2015-10-14 22:57:03 +0200 |
commit | b6eded11193e84bafc8918eac3566e114ee17f01 (patch) | |
tree | d6b4ef16b1c6d4732be6497c1f2061377119fd5a /include/identity.php | |
parent | c8d8ae89d769f8b650c44e1387a0c33a759be87b (diff) | |
parent | b2d949ce9a499653bba833913084b0c1406cca7f (diff) | |
download | volse-hubzilla-b6eded11193e84bafc8918eac3566e114ee17f01.tar.gz volse-hubzilla-b6eded11193e84bafc8918eac3566e114ee17f01.tar.bz2 volse-hubzilla-b6eded11193e84bafc8918eac3566e114ee17f01.zip |
Merge branch 'master' of https://github.com/redmatrix/hubzilla
Diffstat (limited to 'include/identity.php')
-rw-r--r-- | include/identity.php | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/include/identity.php b/include/identity.php index 47738a8fa..bb905e18f 100644 --- a/include/identity.php +++ b/include/identity.php @@ -631,6 +631,31 @@ function identity_basic_export($channel_id, $items = false) { if($r) $ret['likes'] = $r; + + $r = q("select * from conv where uid = %d", + intval($channel_id) + ); + if($r) + $ret['conv'] = $r; + + + $r = q("select mail.*, conv.guid as conv_guid from mail left join conv on mail.convid = conv.id where mail.uid = %d", + intval($channel_id) + ); + if($r) { + $m = array(); + foreach($r as $rr) { + + + + + } + $ret['mail'] = $m; + } + + + + $r = q("select item_id.*, item.mid from item_id left join item on item_id.iid = item.id where item_id.uid = %d", intval($channel_id) ); |