diff --git a/sib-chat.js b/sib-chat.js index fe1f7c899f298f473a6204f4e1c690ead856068c..fb1351a03869dae8088db977b891e53d1ff5a190 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;