fix: toString return object Promise

parent a42dde49
Pipeline #6409 passed with stage
in 30 seconds
...@@ -183,7 +183,7 @@ export const SibChat = { ...@@ -183,7 +183,7 @@ export const SibChat = {
this.jid = (await this.resource['foaf:jabberID']).toString(); this.jid = (await this.resource['foaf:jabberID']).toString();
} 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'])).toString(); this.jid = (await (store.get(this.resource['@id'])['chatProfile.jabberID']));
} }
} else { } else {
this.jid = jabberID; this.jid = jabberID;
......
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