diff options
author | friendica <info@friendica.com> | 2014-10-02 02:43:07 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-10-02 02:43:07 -0700 |
commit | 16b94f1dc0ae8ae812e6e584f76bfb7643f9aa20 (patch) | |
tree | afd673f8854b3aad116d1891f7788862c419bd39 /include/identity.php | |
parent | baa0b0f3939c262a1d9722a2e103c35954a5e8b5 (diff) | |
download | volse-hubzilla-16b94f1dc0ae8ae812e6e584f76bfb7643f9aa20.tar.gz volse-hubzilla-16b94f1dc0ae8ae812e6e584f76bfb7643f9aa20.tar.bz2 volse-hubzilla-16b94f1dc0ae8ae812e6e584f76bfb7643f9aa20.zip |
issues with diaspora comment signatures on relayed comments that are relayed through a redmatrix site (parent post is redmatrix) and involve a private post.
Diffstat (limited to 'include/identity.php')
-rw-r--r-- | include/identity.php | 11 |
1 files changed, 11 insertions, 0 deletions
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) ); |