Skip to content

Weird message sync issue (+ messages out of order) #2963

@taoeffect

Description

@taoeffect

Problem

  • I uploaded an attachment on my phone to a chat.
  • Then I visited the site on another device, where I think it was already loaded to that very chat. I did not see the attachment appear.
  • I typed a message and hit send. The message was grey for a bit and then suddenly appeared above the message with the attachment (when it should have appeared below)

In the console I saw these errors:

Image

Image

Solution

The message appearing out of order thing is something I saw in a separate circumstance as well (during a demo of group income). Messages should never appear out of order in the chat, but it seems something about the way the chat renders them causes this to sometimes happen.

So this is really two issues:

  1. Why didn't the attachment appear when I visited the site? Seems like websocket weirdness maybe? Or maybe a bug in sync?
  2. This is the main issue: messages should never appear out of order

Also, can you check what those Invalid height messages are about? Are they real errors (in which case, what's the fix?) or should they be warnings?

Metadata

Metadata

Assignees

Labels

App:FrontendKind:BugKind:CoreAnything that changes or affects the fundamental core data structures & design of the application.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions