diff options
author | Mario Vavti <mario@mariovavti.com> | 2022-04-23 20:52:45 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2022-04-23 20:52:45 +0200 |
commit | 376733bd084350bcb0854b4f6592bb0565fac018 (patch) | |
tree | 70b6a9c6d89bf107e4b818237d5b6ddb2ff30982 | |
parent | b2fa63f2c8f07f0677e12c655bb39a2c1d6e5444 (diff) | |
download | volse-hubzilla-376733bd084350bcb0854b4f6592bb0565fac018.tar.gz volse-hubzilla-376733bd084350bcb0854b4f6592bb0565fac018.tar.bz2 volse-hubzilla-376733bd084350bcb0854b4f6592bb0565fac018.zip |
fix regression with incoming poll answers from activitypub
-rw-r--r-- | Zotlabs/Lib/Activity.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php index 6814c2acd..9b3cab9d0 100644 --- a/Zotlabs/Lib/Activity.php +++ b/Zotlabs/Lib/Activity.php @@ -2834,7 +2834,7 @@ class Activity { } if ($p && $p[0]['obj_type'] === 'Question') { - if ($item['obj_type'] === 'Note' && $item['title'] && (!$item['content'])) { + if ($item['obj_type'] === ACTIVITY_OBJ_COMMENT && $item['title'] && (!$item['body'])) { $item['obj_type'] = 'Answer'; } } |