summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2024-03-01 14:28:20 +0100
committerJoas Schilling <coding@schilljs.com>2024-03-01 14:32:58 +0100
commitcd633a95af01f70c6e91cd8262902787ce93d9da (patch)
tree7c4c26d440479a0c67766eefc0c4d062c41b5ff5
parent9b859108a247b4244647ae36aa39b4c6a2ad78f9 (diff)
fix(federation): Allow to reply to messages of federated users
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r--lib/Model/Message.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/Model/Message.php b/lib/Model/Message.php
index fe1140347..d279f583d 100644
--- a/lib/Model/Message.php
+++ b/lib/Model/Message.php
@@ -173,7 +173,12 @@ class Message {
$this->getMessageType() !== ChatManager::VERB_MESSAGE_DELETED &&
$this->getMessageType() !== ChatManager::VERB_REACTION &&
$this->getMessageType() !== ChatManager::VERB_REACTION_DELETED &&
- \in_array($this->getActorType(), [Attendee::ACTOR_USERS, Attendee::ACTOR_GUESTS, Attendee::ACTOR_BOTS]);
+ \in_array($this->getActorType(), [
+ Attendee::ACTOR_USERS,
+ Attendee::ACTOR_FEDERATED_USERS,
+ Attendee::ACTOR_GUESTS,
+ Attendee::ACTOR_BOTS,
+ ], true);
}
/**