diff options
author | Joas Schilling <coding@schilljs.com> | 2024-03-13 16:57:53 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2024-03-14 09:47:20 +0100 |
commit | ec2ce3b97e0a8017b6209b70533331ae3478f05d (patch) | |
tree | 3d0073dfc6fce56184789419c1d3d1b24a9cc7db /lib/Notification | |
parent | 6d5de533a6f00e950c4b5ce202c5587e59ca9ba0 (diff) |
fix(federation): Fix unread marker handling in federated chats
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Notification')
-rw-r--r-- | lib/Notification/FederationChatNotifier.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Notification/FederationChatNotifier.php b/lib/Notification/FederationChatNotifier.php index ef56078b1..08b6fc094 100644 --- a/lib/Notification/FederationChatNotifier.php +++ b/lib/Notification/FederationChatNotifier.php @@ -45,7 +45,7 @@ class FederationChatNotifier { } /** - * @param array{remoteServerUrl: string, sharedSecret: string, remoteToken: string, messageData: array{remoteMessageId: int, actorType: string, actorId: string, actorDisplayName: string, messageType: string, systemMessage: string, expirationDatetime: string, message: string, messageParameter: string, creationDatetime: string, metaData: string}, unreadInfo: array{unreadMessages: int, unreadMention: bool, unreadMentionDirect: bool}} $inboundNotification + * @param array{remoteServerUrl: string, sharedSecret: string, remoteToken: string, messageData: array{remoteMessageId: int, actorType: string, actorId: string, actorDisplayName: string, messageType: string, systemMessage: string, expirationDatetime: string, message: string, messageParameter: string, creationDatetime: string, metaData: string}, unreadInfo: array{unreadMessages: int, unreadMention: bool, unreadMentionDirect: bool, lastReadMessage: int}} $inboundNotification */ public function handleChatMessage(Room $room, Participant $participant, ProxyCacheMessage $message, array $inboundNotification): void { /** @var array{silent?: bool, last_edited_time?: int, last_edited_by_type?: string, last_edited_by_id?: string, replyToActorType?: string, replyToActorId?: string} $metaData */ |