diff options
author | Joas Schilling <coding@schilljs.com> | 2024-03-01 14:28:20 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2024-03-01 14:32:58 +0100 |
commit | cd633a95af01f70c6e91cd8262902787ce93d9da (patch) | |
tree | 7c4c26d440479a0c67766eefc0c4d062c41b5ff5 | |
parent | 9b859108a247b4244647ae36aa39b4c6a2ad78f9 (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.php | 7 |
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); } /** |