From d60be056391123f2dfa2b833ca960189acb56c56 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Pasquier Date: Fri, 15 Nov 2019 14:28:44 +0000 Subject: [PATCH] fix: toString return object Promise --- sib-chat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sib-chat.js b/sib-chat.js index fe1f7c8..fb1351a 100644 --- a/sib-chat.js +++ b/sib-chat.js @@ -183,7 +183,7 @@ export const SibChat = { this.jid = (await this.resource['foaf:jabberID']).toString(); } else { await store.initGraph(this.resource['@id'], jabberIDContext); - this.jid = (await (store.get(this.resource['@id'])['chatProfile.jabberID'])).toString(); + this.jid = (await (store.get(this.resource['@id'])['chatProfile.jabberID'])); } } else { this.jid = jabberID; -- 2.22.2