fix things so relays tests work.

This commit is contained in:
fiatjaf
2023-12-22 11:38:30 -03:00
parent ddf1064da9
commit 703c29a311
2 changed files with 30 additions and 21 deletions

View File

@@ -102,7 +102,7 @@ export class AbstractRelay {
this._connected = false
}
this.ws.onmessage = this._onmessage
this.ws.onmessage = this._onmessage.bind(this)
})
return this.connectionPromise