mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-25 02:48:23 +01:00
Simplify messageReceiver initialization & reset
Co-authored-by: Scott Nonnenberg <scott@signal.org>
This commit is contained in:
@@ -499,8 +499,8 @@ export class SocketManager extends EventListener {
|
||||
this.credentials = undefined;
|
||||
}
|
||||
|
||||
public get isOnline(): boolean {
|
||||
return this.privIsOnline !== false;
|
||||
public get isOnline(): boolean | undefined {
|
||||
return this.privIsOnline;
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user