Additional logging, more reliable contact/group sync fetch
This commit is contained in:
parent
8e1a30d720
commit
efc237d106
11 changed files with 86 additions and 16 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue