aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/ThreadItem.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-02-11 09:20:32 +0000
committerMario <mario@mariovavti.com>2020-02-11 09:20:32 +0000
commit9f029336cab322e04d29af842ba0a666189c8683 (patch)
tree27c267bb8297d4f79ea5b360e05a63d7d7e577c0 /Zotlabs/Lib/ThreadItem.php
parent95476cf33cf7c7971e018f9136d1c64dfc901d17 (diff)
downloadvolse-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.php4
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';