miscord icon indicating copy to clipboard operation
miscord copied to clipboard

Images not posting with text when submitted quickly

Open boothemjr opened this issue 5 years ago • 2 comments

Describe the bug When messages are sent on Discord quickly with an image, they show up out of order on Messenger. This only happens when multiple messages come through at more or less the same time.

To Reproduce Steps to reproduce the behavior:

  1. Send several messages with an image on Discord at more-or-less the same time. (Within a few seconds of each other.)

Expected behavior Images should still post with their corresponding message.

Screenshots Here is an example screenshot showing updates from my Plex Media Server using Tautulli image

Specifications:

  • OS: Windows 10
  • Version: 5.0.4
  • Node.js version: 12.2

Additional context I feel like an easy-ish fix would be to include a sort of queue that holds each post for a second or two before submitting.

boothemjr avatar Jan 23 '20 14:01 boothemjr

It's based on upload time and uploads are being done parallel, also, messages are being received asynchronously, so there would have to be a queue to send messages in order and that would require a rewrite of some part of code.

ptrcnull avatar Jan 23 '20 14:01 ptrcnull

That makes sense. Any suggestions for a workaround? It may be more appropriate to check with the Tautulli community instead if there's not something that can be done through Miscord.

boothemjr avatar Jan 23 '20 14:01 boothemjr