diff options
author | friendica <info@friendica.com> | 2012-11-26 16:48:04 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-11-26 16:48:04 -0800 |
commit | d79d698beb8827b7d8625a584f25a8c97526603b (patch) | |
tree | 282a7e3d3bae89d5e81233197ccf02d14f6ea94c /include/items.php | |
parent | ccf44f2514856161a1650781b57d90c75e3d110e (diff) | |
download | volse-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-x | include/items.php | 6 |
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; |