Skip to content
This repository was archived by the owner on Jun 7, 2020. It is now read-only.
This repository was archived by the owner on Jun 7, 2020. It is now read-only.

Messages not being received on the stream after internet disconnects and reconnects #2426

@kb0304

Description

@kb0304

Describe the bug

To Reproduce

  1. Open a Room
  2. Disconnect the internet
  3. Send a message (wait for it to timeout in case it does)
  4. Reconnect the internet
  5. The message are sent across (can be verified on RC server), but they are not received by the stream (the text remains grey)
  6. Even on sending subsequent messages, they are sent through, but their text remains grey.

Expected behavior

The message turns black when the internet reconnects.

Logs

Additional Context

connectJob in the ConnectionManager receives the disconnect status when the internet is disconnected, so state in it is disconnected
Now when the internet connects again, it doesn't receive any status change, and remains in disconnected state

On going out of the room and coming back in, it resets the connection manager (call to launch), so everything starts working.

During the state of point 5 (message are being sent, not received by the stream), the connectJob is active.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions