verdnatura-chat/patches/@rocket.chat+sdk+1.2.0-mobi...

14 lines
618 B
Diff

diff --git a/node_modules/@rocket.chat/sdk/lib/drivers/ddp.ts b/node_modules/@rocket.chat/sdk/lib/drivers/ddp.ts
index e751551..02703a0 100644
--- a/node_modules/@rocket.chat/sdk/lib/drivers/ddp.ts
+++ b/node_modules/@rocket.chat/sdk/lib/drivers/ddp.ts
@@ -298,7 +298,7 @@ export class Socket extends EventEmitter {
login = async (credentials: any) => {
const params = this.loginParams(credentials)
this.resume = (await this.call('login', params) as ILoginResult)
- await this.subscribeAll()
+ this.subscribeAll().catch(console.log)
this.emit('login', this.resume)
return this.resume
}