Use contacts cache to show contacts details

This commit is contained in:
Angela Mazzurco 2017-06-21 16:31:20 +02:00
parent 05ca5b482c
commit c2b63a2313
2 changed files with 7 additions and 10 deletions

View file

@ -51,6 +51,7 @@ Item
{
console.log("contactsView.refreshContactsCB()", visible)
var token = JSON.parse(par.response).statetoken
ChatCache.contactsCache.contactsList = JSON.parse(par.response).data
TokensManager.registerToken(token, refreshContacts)
contactsSortWorker.sendMessage(
{'action': 'refreshContacts', 'response': par.response})