Skip to content

shouldMarkActiveChannelAsRead doesnt seem to mark messages as read #711

@johnj33

Description

@johnj33

I have been setting shouldMarkActiveChannelAsRead when the chat is hidden on the screen. This allows me to track message count while chat isn't visible. This correctly stops reading messages when the chat is not visible. But setting it back to true does not clear the read messages nor does it mark new messages as read.

 constructor() {
    effect(() => {
      this.channelService.shouldMarkActiveChannelAsRead = this.chatVisible();
      console.log(this.channelService.shouldMarkActiveChannelAsRead);
    });
  }

Is this the correct way to be disabling read.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions