Skip to content

Remove overrideUnreadTo for chat serialization

Tomas Vik requested to merge remove-override-unread-to into develop

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

Merge request reports