diff options
author | Mario <mario@mariovavti.com> | 2020-02-11 09:20:32 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-02-11 09:20:32 +0000 |
commit | 9f029336cab322e04d29af842ba0a666189c8683 (patch) | |
tree | 27c267bb8297d4f79ea5b360e05a63d7d7e577c0 /Zotlabs/Lib/ThreadItem.php | |
parent | 95476cf33cf7c7971e018f9136d1c64dfc901d17 (diff) | |
download | volse-hubzilla-9f029336cab322e04d29af842ba0a666189c8683.tar.gz volse-hubzilla-9f029336cab322e04d29af842ba0a666189c8683.tar.bz2 volse-hubzilla-9f029336cab322e04d29af842ba0a666189c8683.zip |
fix notifications for polls
Diffstat (limited to 'Zotlabs/Lib/ThreadItem.php')
-rw-r--r-- | Zotlabs/Lib/ThreadItem.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Zotlabs/Lib/ThreadItem.php b/Zotlabs/Lib/ThreadItem.php index 2386a1f0d..dee7cda56 100644 --- a/Zotlabs/Lib/ThreadItem.php +++ b/Zotlabs/Lib/ThreadItem.php @@ -204,6 +204,10 @@ class ThreadItem { } } + if($item['obj_type'] === 'Question') { + $response_verbs[] = 'answer'; + } + $consensus = (intval($item['item_consensus']) ? true : false); if($consensus) { $response_verbs[] = 'agree'; |