diff options
author | Mario <mario@mariovavti.com> | 2020-05-05 14:51:00 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-05-05 14:51:00 +0000 |
commit | 06d1cf83d2b1acfef5529fe388d2502bea381881 (patch) | |
tree | 4a387d86ecfd5dfd72b311ca9aa95be4a61f63bc /include | |
parent | de058901c2a8dd5fea09b1594c2ace0b8bd2c90f (diff) | |
download | volse-hubzilla-06d1cf83d2b1acfef5529fe388d2502bea381881.tar.gz volse-hubzilla-06d1cf83d2b1acfef5529fe388d2502bea381881.tar.bz2 volse-hubzilla-06d1cf83d2b1acfef5529fe388d2502bea381881.zip |
deal with polls and votes in enotify
Diffstat (limited to 'include')
-rw-r--r-- | include/text.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/text.php b/include/text.php index b13458e99..a2e5ce37a 100644 --- a/include/text.php +++ b/include/text.php @@ -2240,6 +2240,9 @@ function item_post_type($item) { if(strlen($item['verb']) && (! activity_match($item['verb'],ACTIVITY_POST))) $post_type = t('activity'); + if($item['obj_type'] === 'Question') + $post_type = t('poll'); + return $post_type; } |