Commit 5b2498c6 authored by Jean-Baptiste Pasquier's avatar Jean-Baptiste Pasquier

bugfix: remove toString

parent d60be056
Pipeline #6411 passed with stage
in 28 seconds
......@@ -63,7 +63,7 @@ export const SibChat = {
if(typeof converse_sib !== 'undefined') {
await converse_sib.loaded_deferred;
if (await this.resource.jabberRoom) {
this.jid = (await this.resource['foaf:jabberID']).toString();
this.jid = (await this.resource['foaf:jabberID']);
} else {
await store.initGraph(this.resource['@id'], jabberIDContext);
this.jid = await (store.get(this.resource['@id'])['chatProfile.jabberID']);
......@@ -180,7 +180,7 @@ export const SibChat = {
if(this.resource) {
if (await this.resource.jabberRoom) {
this.jid = (await this.resource['foaf:jabberID']).toString();
this.jid = (await this.resource['foaf:jabberID']);
} else {
await store.initGraph(this.resource['@id'], jabberIDContext);
this.jid = (await (store.get(this.resource['@id'])['chatProfile.jabberID']));
......@@ -238,4 +238,4 @@ export const SibChat = {
}
};
Sib.register(SibChat);
\ No newline at end of file
Sib.register(SibChat);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment