mirror of
https://github.com/status-im/status-go.git
synced 2025-01-09 14:16:21 +00:00
2ef1aa89f4
Currently messenger has no notion of being online. This might cause a problem as we retry to register with a push notification server even if not connected to any peer, which will inevitably fail. This commit adds a method `handleConnectionChange` that will be called every time the connection change state.