mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-03 14:45:12 -04:00
Qml app: fixed unread messages count displaying
Roles in models are not expected to change type, so they must be always defined and have the same type
This commit is contained in:
parent
de9a44fac7
commit
c1c1d5ddb4
3 changed files with 5 additions and 4 deletions
|
@ -50,8 +50,6 @@ Item
|
|||
function refreshContactsCallback(par)
|
||||
{
|
||||
console.log("contactsView.refreshContactsCB()", visible)
|
||||
if (contactsListModel.model.count < 1)
|
||||
contactsListModel.json = par.response
|
||||
var token = JSON.parse(par.response).statetoken
|
||||
TokensManager.registerToken(token, refreshContacts)
|
||||
contactsSortWorker.sendMessage(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue