Edit history

Revoking access to a channel you were previously pinged in causes 403 forbidden error for `GET /users/@me/mentions` has not been edited, so there are no earlier versions.

Current version | Original by bizo
Show

Revoking access to a channel you were previously pinged in causes 403 forbidden error for `GET /users/@me/mentions`

Observed behaviour

Tries to fetch it but fails due to not having access anymore

Reproduction steps

  1. Be granted a role that gives you access to a channel
  2. Get pinged in that channel
  3. Get removed from that role
  4. Open Inbox > Mentions
  5. Notice it loading infinitely and 403 error in console
Note: You may need to refresh your client due to the mentions inbox tab not fetching every time it's opened

Build information

canary build 586 (96d2f9a), Electron 41.2.2, Windows 11 10.0.26200 (x64), desktop canary 0.0.122, locale en-GB canary build 586 (96d2f9a), Chrome 147.0.0.0, Windows NT 10.0 (x64), locale en-US

Platform

Windows

Details

Expected behaviour The client (or server) filters out old pings that you no longer have access to