Skip to content

bug: Leave group but still appear in mention list #2224

Open
@minhth1529

Description

@minhth1529

Describe the bug

My group has three members, called A, B, and C, when C is using the function channel.removeMember() aims to remove himself from the group, but now, in the group, A still sees C in the mention list.

To Reproduce

Steps to reproduce the behavior:

  1. Create group
  2. user A check mention list
  3. user C using channel.removeMember(), remove himself from group.
  4. now user A still see C in mention list

Expected behavior

mention list re-render, only members of the group will appear in the mention list.

Screenshots

Screen.Recording.2023-12-22.at.9.29.50.AM.mp4

Package version

  • stream-chat-react: 11.1.2
  • stream-chat-css: 4.2.0
  • stream-chat-js: 8.14.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds api supportrequires backend support to resolvestatus:confirmedDescribed issue has been reproduced by the repo maintainer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions