Add a "connectivity warning" bottom sheet.

This commit is contained in:
Greyson Parrelli
2024-07-19 16:17:04 -04:00
committed by Nicholas Tinsley
parent 44b2c62a0e
commit f1ba947a59
16 changed files with 312 additions and 51 deletions

View File

@@ -378,6 +378,10 @@ class IncomingMessageObserver(private val context: Application) {
// Any state change at all means that we are not drained
decryptionDrained = false
if (state == WebSocketConnectionState.CONNECTED) {
SignalStore.misc.lastWebSocketConnectTime = System.currentTimeMillis()
}
}
signalWebSocket.connect()