aboutsummaryrefslogtreecommitdiffstats
path: root/include/bb2diaspora.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-05-18 13:14:34 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-05-18 13:14:34 -0700
commit51db7536380d70e2047aa91c3a12809cc3444aa8 (patch)
tree359c67869e57a5c42aed637f63c2dd7953bddbb7 /include/bb2diaspora.php
parente271035879660bc9996101f3a23d61c88ecd5f53 (diff)
parent7c7a5cba8fe6fd6dc15acc14954d9ba9ed632c00 (diff)
downloadvolse-hubzilla-51db7536380d70e2047aa91c3a12809cc3444aa8.tar.gz
volse-hubzilla-51db7536380d70e2047aa91c3a12809cc3444aa8.tar.bz2
volse-hubzilla-51db7536380d70e2047aa91c3a12809cc3444aa8.zip
Merge branch 'tres'
Diffstat (limited to 'include/bb2diaspora.php')
-rw-r--r--include/bb2diaspora.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bb2diaspora.php b/include/bb2diaspora.php
index 8129ab5e6..fc82cb48c 100644
--- a/include/bb2diaspora.php
+++ b/include/bb2diaspora.php
@@ -326,7 +326,7 @@ function bb2diaspora_itembody($item, $force_update = false) {
$newitem = $item;
- if(array_key_exists('item_flags',$item) && ($item['item_flags'] & ITEM_OBSCURED)) {
+ if(array_key_exists('item_obscured',$item) && intval($item['item_obscured'])) {
$key = get_config('system','prvkey');
$b = json_decode($item['body'],true);
// if called from diaspora_process_outbound, this decoding has already been done.