aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-11-26 16:48:04 -0800
committerfriendica <info@friendica.com>2012-11-26 16:48:04 -0800
commitd79d698beb8827b7d8625a584f25a8c97526603b (patch)
tree282a7e3d3bae89d5e81233197ccf02d14f6ea94c /include/items.php
parentccf44f2514856161a1650781b57d90c75e3d110e (diff)
downloadvolse-hubzilla-d79d698beb8827b7d8625a584f25a8c97526603b.tar.gz
volse-hubzilla-d79d698beb8827b7d8625a584f25a8c97526603b.tar.bz2
volse-hubzilla-d79d698beb8827b7d8625a584f25a8c97526603b.zip
more heavy lifting on delivery - now we can find all the recipients on the system who have any acceptable permissions for receiving a post. Next we just need to process edits and deletes, and otherwise store the message - yay. Still a lot of work, but we've come a long way baby.
Diffstat (limited to 'include/items.php')
-rwxr-xr-xinclude/items.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/items.php b/include/items.php
index 28b19caad..e1ca03fbb 100755
--- a/include/items.php
+++ b/include/items.php
@@ -656,11 +656,11 @@ function encode_item_flags($item) {
// ITEM_DELETED is handled in encode_item directly so we don't need to handle it here.
$ret = array();
- if($item['flags'] & ITEM_THREAD_TOP)
+ if($item['item_flags'] & ITEM_THREAD_TOP)
$ret[] = 'thread_parent';
- if($item['flags'] & ITEM_NSFW)
+ if($item['item_flags'] & ITEM_NSFW)
$ret[] = 'nsfw';
- if($item['flags'] & ITEM_PRIVATE)
+ if($item['item_flags'] & ITEM_PRIVATE)
$ret[] = 'private';
return $ret;