Skip to content

Thread Members Update not received from a thread after access lost due to permission changes #5704

@davfsa

Description

@davfsa

Description

After a permission change (channel or role), Thread Members Update wont be fired when removing a bot that had access to the thread previous to the permission change.

Additionally, when a user or app loses access to a channel, they are not removed from the thread and will continue to be reported as a member of that thread. However, they will **not** receive any new Gateway events unless they are removed from the thread, in which case they will receive a [Thread Members Update](#DOCS_TOPICS_GATEWAY_EVENTS/thread-members-update) event.

Steps to Reproduce

  1. Create a thread
  2. Add the bot to the thread
  3. Edit role or channel permissions to prohibit seeing the channel (VIEW_CHANNEL for example)
  4. Remove bot from the thread

Expected Behavior

Event should be fired when the member is removed from the thread even tho they don't have access to it

Current Behavior

Event is not fired

Screenshots/Videos

No response

Client and System Information

Gateway and REST V10

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions