Running a selfbot stops the client from receiving inbound DM events

(#750) Bug Fixed api dms

Summary

When a userbot is active, it appears as if the userbot 'consumes' the inbound DM messages, and a client (in my case, the latest browser Canary) will therefore 'miss' the incoming events. NOTE: I specifically said "inbound DM message events"; see the table below:
EventReceived
Load past messages✅1
Send messages✅
View sent messages✅
View self-edited messages✅2
View received messages❌
Receive friend request❌
Typing indicator❌
--- None of the above defined behaviour happens in guilds; guilds remain sane. A refresh "fixes" this; see the first item in the table. 1This was only tested on a single screen, of messages, i.e. there were not enough messages in the history for the past messages to be batched 2When an image link is sent, the Fluxer server edits the message to add the image embed. Since this is an inbound event, the client still shows a link instead of the image.

Steps to reproduce

  1. Start a self-bot
  2. Have someone DM you.
  3. Nothing in the client. clicking off/back on does nothing. Sending a message does not send a force state refresh.
  4. DM accumulates to just outbound messages appearing.

Environment

Canary Web 2026.605.11941, Linux (x86), Chrome 149.0.0.0, Locale en-US

Logs or screenshots

1489256458671249781

3 comments

Sign in with Fluxer to comment and vote.
Comment by @blakebeckcoding
RexSystem 1 vote originally by @blakebeckcoding on GitHub
Created a possible fix, I didn't replicate the bug however so it is a defensive fix.
Deleted comment
Removed by moderator Rex: Removed a general status note that was posted on many GitHub threads. It no longer applies here.
Comment by Hampus
HampusStaff 1 vote originally by @hampus-fluxer on GitHub
This sounds very similar to a previously fixed bug. Are you still able to reproduce this?