Skip to content

Notification counts may be incorrectly reset by sent messages #3684

@richvdh

Description

@richvdh

Suppose:

  • You invite Bob to a room. Bob immediately joins and sends a message.
  • /sync is slow for whatever reason, and Bob's message is returned in the /sync response as the remote echo of your invite event.

In that scenario, Room.getUnreadNotificationCount() should return 1. However, it currently returns 0. This causes the client to show the room as fully read, whereas in fact there are unread messages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions