Skip to content

Remove overrideUnreadTo for chat serialization

This MR doesn't change observed serialization behaviour, only simplifies the logic.

Now the logic says:

  • if you don't provide currentUserId to the serializer, it will default all unread properties to false.

Testing strategy

As a sanity check, send a message between two users and validate that unread still works.

Edited by Tomas Vik (OOO back on 2024-06-19)

Merge request reports