Added parenthesis

This commit is contained in:
Roland Häder 2022-06-17 09:40:29 +02:00
parent a903dbd77e
commit 5106bb2881
Signed by: roland
GPG key ID: C82EDE5DDFA0BA77

View file

@ -154,7 +154,7 @@ class Conversation
}
// Skip when the causer of the parent is the same as the author of the announce
if ($verb == Activity::ANNOUNCE && !empty($thread_parent['causer-id']) && $thread_parent['causer-id'] == $activity['author-id']) {
if (($verb == Activity::ANNOUNCE) && !empty($thread_parent['causer-id']) && ($thread_parent['causer-id'] == $activity['author-id'])) {
continue;
}