From 16b94f1dc0ae8ae812e6e584f76bfb7643f9aa20 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 2 Oct 2014 02:43:07 -0700 Subject: issues with diaspora comment signatures on relayed comments that are relayed through a redmatrix site (parent post is redmatrix) and involve a private post. --- include/identity.php | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'include/identity.php') diff --git a/include/identity.php b/include/identity.php index 6b1286ff7..ebe4c5d50 100644 --- a/include/identity.php +++ b/include/identity.php @@ -537,6 +537,17 @@ function identity_basic_export($channel_id, $items = false) { $ret['photo'] = array('type' => $r[0]['type'], 'data' => base64url_encode($r[0]['data'])); } + + // All other term types will be included in items, if requested. + + $r = q("select * from term where type in (%d,%d) and uid = %d", + intval(TERM_SAVEDSEARCH), + intval(TERM_THING), + intval($channel_id) + ); + if($r) + $ret['term'] = $r; + $r = q("select * from obj where obj_channel = %d", intval($channel_id) ); -- cgit v1.2.3