add list of devices in settings
Change-Id: Ib8e8f11647d96049fbd14f8c55dd885856930656
diff --git a/JamiDaemon.js b/JamiDaemon.js
index 1431a62..f25f743 100755
--- a/JamiDaemon.js
+++ b/JamiDaemon.js
@@ -274,7 +274,10 @@
const conversation = new Conversation(conversationId, accountId, members)
account.addConversation(conversation)
})
- this.accounts.push(account)
+ account.setDevices(
+ );
+
+ this.accounts.push(account);
})
}
@@ -286,6 +289,11 @@
this.tempAccounts[accountId] = { resolve, reject }
})
}
+
+ getDevices(accountId){
+ return JamiDaemon.mapToJs(this.dring.getKnownRingDevices(accountId));
+ }
+
getAccount(accountId) {
for (let i = 0; i < this.accounts.length; i++) {
const account = this.accounts[i]