summaryrefslogtreecommitdiffstats
path: root/lib/Chat
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2024-02-27 14:40:34 +0100
committerJoas Schilling <coding@schilljs.com>2024-02-28 09:31:54 +0100
commit1105928de47ea2d1594250d7c3827fec7a91c494 (patch)
treef53f4686edcab35d36b722085ed2a958ae81819f /lib/Chat
parentdd294f2dc2ca31884fe483d3a2f16868c29e2c39 (diff)
feat(federation): Start proxying chat message events so the remotes can do things
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Chat')
-rw-r--r--lib/Chat/Parser/SystemMessage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Chat/Parser/SystemMessage.php b/lib/Chat/Parser/SystemMessage.php
index b85207f2f..f9f144611 100644
--- a/lib/Chat/Parser/SystemMessage.php
+++ b/lib/Chat/Parser/SystemMessage.php
@@ -958,7 +958,7 @@ class SystemMessage implements IEventListener {
}
}
- protected function parseMissedCall(Room $room, array $parameters, string $currentActorId): array {
+ protected function parseMissedCall(Room $room, array $parameters, ?string $currentActorId): array {
if ($parameters['users'][0] !== $currentActorId) {
return [
$this->l->t('You missed a call from {user}'),