aboutsummaryrefslogtreecommitdiffstats
path: root/include/bb2diaspora.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-01-22 18:41:10 -0800
committerfriendica <info@friendica.com>2015-01-22 18:41:10 -0800
commit6e0e3b2433fc426b758a55811f56536d58705813 (patch)
treea8d8fb7c63216cea94765e93be935f2b9d2fe227 /include/bb2diaspora.php
parente46eba125888704b4381aa8418495e91eeb565c8 (diff)
downloadvolse-hubzilla-6e0e3b2433fc426b758a55811f56536d58705813.tar.gz
volse-hubzilla-6e0e3b2433fc426b758a55811f56536d58705813.tar.bz2
volse-hubzilla-6e0e3b2433fc426b758a55811f56536d58705813.zip
more expanding item flags
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 e8f81aec4..5b675128f 100644
--- a/include/bb2diaspora.php
+++ b/include/bb2diaspora.php
@@ -304,7 +304,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.