diff options
author | zotlabs <mike@macgirvin.com> | 2018-04-11 21:51:57 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-04-11 21:51:57 -0700 |
commit | 739a6128247d55cdab9a6432e28f5710310951b3 (patch) | |
tree | c39eb15cb8ee99c658f98ceba3f0c38288c605bb /include/conversation.php | |
parent | 953a2fd9b2db0c0f0b1cf54c766a1e39002eaea8 (diff) | |
download | volse-hubzilla-739a6128247d55cdab9a6432e28f5710310951b3.tar.gz volse-hubzilla-739a6128247d55cdab9a6432e28f5710310951b3.tar.bz2 volse-hubzilla-739a6128247d55cdab9a6432e28f5710310951b3.zip |
poll responses: start treating them as hidden activities now so that when this feature gets finished it will work flawlessly for versions greater than today.
Diffstat (limited to 'include/conversation.php')
-rw-r--r-- | include/conversation.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/conversation.php b/include/conversation.php index 3834d9866..82317ae95 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -404,7 +404,7 @@ function count_descendants($item) { * @return boolean */ function visible_activity($item) { - $hidden_activities = [ ACTIVITY_LIKE, ACTIVITY_DISLIKE, ACTIVITY_AGREE, ACTIVITY_DISAGREE, ACTIVITY_ABSTAIN, ACTIVITY_ATTEND, ACTIVITY_ATTENDNO, ACTIVITY_ATTENDMAYBE ]; + $hidden_activities = [ ACTIVITY_LIKE, ACTIVITY_DISLIKE, ACTIVITY_AGREE, ACTIVITY_DISAGREE, ACTIVITY_ABSTAIN, ACTIVITY_ATTEND, ACTIVITY_ATTENDNO, ACTIVITY_ATTENDMAYBE, ACTIVITY_POLLRESPONSE ]; if(intval($item['item_notshown'])) return false; |