Skip to content
This repository was archived by the owner on Feb 20, 2022. It is now read-only.
This repository was archived by the owner on Feb 20, 2022. It is now read-only.

Send queued messages only after session is continued with token? #8

@BeayemX

Description

@BeayemX

At the moment when I am disconnected from the server and I call a method I get an error but the method call is queued and executed as soon as a connection to the server is re-established.

But after reconnecting the user isn't logged in any more. Therefore all the method calls will return an error that the user needs to be logged in.

I tried to use the token to resume the session in ddpConnection.OnConnected but this is too late and the user will be logged in after all the queued messages have been executed.

Is there any way to solve this problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions