Skip to content

When a new contact sends a message, there's no notification and no message badge appears. #540

Description

@Jokerjs

When encountering a new contact's message, no notification is sent, and no message badge appears.

After running the source code, I found the following issue: new message notifications are obtained via threadsById, but when a new contact joins the session for the first time, threadsById = {}, causing the following code to return. Ultimately, this results in no notification for new contacts' messages.

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions