...
 
Commits (1)
......@@ -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);