Additional logging, more reliable contact/group sync fetch

This commit is contained in:
Scott Nonnenberg 2023-06-14 13:51:49 -07:00 committed by GitHub
parent 8e1a30d720
commit efc237d106
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 86 additions and 16 deletions

View file

@ -126,6 +126,8 @@ export default class WebSocketResource extends EventTarget {
private readonly logId: string;
public readonly localPort: number | undefined;
// Public for tests
public readonly keepalive?: KeepAlive;
@ -136,6 +138,7 @@ export default class WebSocketResource extends EventTarget {
super();
this.logId = `WebSocketResource(${options.name})`;
this.localPort = socket.socket.localPort;
this.boundOnMessage = this.onMessage.bind(this);