Restart AccountPushControllers when connectivity returns

PushController.onConnectivityChanged() is not only called when the active network changes, but also when connectivity returns (offline -> online). In that case we need to restart the AccountPushControllers.
This commit is contained in:
cketti 2021-07-10 14:28:57 +02:00
parent ec1f3c3722
commit 38c0b2dfb2

View file

@ -105,6 +105,8 @@ class PushController internal constructor(
accountPushController.reconnect()
}
}
updatePushers()
}
}