You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
After server restart an automatic reconnect would be fine...
Is your feature request related to a specific XEP?
no
Describe the solution you'd like
We could set a timer to try a reconnect after 30seconds if the connection was dropped or could not be established.
(on disconnection not forced by the user of course)
in Connector.ts there is connection handler which will be called on disconnection events...
extend it with state = Strophe.Status.DISCONNECTING, condition = 'forced' at this state so we know when a user wants to disconnect..
all other events for connection loss should be catched then...
Additional context
for reconnect please take care on this issue in current StropheJS Version: strophe/strophejs#369
Is your feature request related to a problem? Please describe.
After server restart an automatic reconnect would be fine...
Is your feature request related to a specific XEP?
no
Describe the solution you'd like
We could set a timer to try a reconnect after 30seconds if the connection was dropped or could not be established.
(on disconnection not forced by the user of course)
Additional context
for reconnect please take care on this issue in current StropheJS Version:
strophe/strophejs#369
i made a PR for this to fix:
strophe/strophejs#371
I hope it will be merged in the next StropheJS version
oh i think this is the same as #859
The text was updated successfully, but these errors were encountered: