feat(core): Reset the resource if lastResource is null
This commit is contained in:
parent
63b7abd6f9
commit
cf425917cf
@ -1142,6 +1142,8 @@ class XmppConnection {
|
||||
|
||||
if (lastResource != null) {
|
||||
_setResource(lastResource, triggerEvent: false);
|
||||
} else {
|
||||
_setResource('', triggerEvent: false);
|
||||
}
|
||||
|
||||
_enableReconnectOnSuccess = enableReconnectOnSuccess;
|
||||
|
Loading…
Reference in New Issue
Block a user