...
 
Commits (1)
...@@ -63,7 +63,7 @@ export const SibChat = { ...@@ -63,7 +63,7 @@ export const SibChat = {
if(typeof converse_sib !== 'undefined') { if(typeof converse_sib !== 'undefined') {
await converse_sib.loaded_deferred; await converse_sib.loaded_deferred;
if (await this.resource.jabberRoom) { if (await this.resource.jabberRoom) {
this.jid = (await this.resource['foaf:jabberID']).toString(); this.jid = (await this.resource['foaf:jabberID']);
} else { } else {
await store.initGraph(this.resource['@id'], jabberIDContext); await store.initGraph(this.resource['@id'], jabberIDContext);
this.jid = await (store.get(this.resource['@id'])['chatProfile.jabberID']); this.jid = await (store.get(this.resource['@id'])['chatProfile.jabberID']);
...@@ -180,7 +180,7 @@ export const SibChat = { ...@@ -180,7 +180,7 @@ export const SibChat = {
if(this.resource) { if(this.resource) {
if (await this.resource.jabberRoom) { if (await this.resource.jabberRoom) {
this.jid = (await this.resource['foaf:jabberID']).toString(); this.jid = (await this.resource['foaf:jabberID']);
} else { } else {
await store.initGraph(this.resource['@id'], jabberIDContext); await store.initGraph(this.resource['@id'], jabberIDContext);
this.jid = (await (store.get(this.resource['@id'])['chatProfile.jabberID'])); this.jid = (await (store.get(this.resource['@id'])['chatProfile.jabberID']));
...@@ -238,4 +238,4 @@ export const SibChat = { ...@@ -238,4 +238,4 @@ export const SibChat = {
} }
}; };
Sib.register(SibChat); Sib.register(SibChat);
\ No newline at end of file