mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-07-02 12:05:46 +01:00
Don't stop websocket foreground service for unregistered if already running.
This commit is contained in:
@@ -268,9 +268,6 @@ class IncomingMessageObserver(
|
||||
TAG,
|
||||
"[$needsConnectionString] Network: $hasNetwork, Foreground: $appVisibleSnapshot, Time Since Last Interaction: $lastInteractionString, FCM: $fcmEnabled, WS Open or Keep-alives: $websocketAlreadyOpen, Registered: $registered, Unauthorized: $unauthorizedReceived, Proxy: $hasProxy, Force websocket: $forceWebsocket"
|
||||
)
|
||||
if (!registered || unauthorizedReceived) {
|
||||
stopForegroundService(context)
|
||||
}
|
||||
|
||||
return conclusion
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user