Fixed filtering contacts issue on when create new chat. Fixes #1705
This commit is contained in:
parent
5b3d202797
commit
8acdaff6f9
|
@ -143,6 +143,10 @@ ModalPopup {
|
||||||
chatsModel.joinChat(pubKey, Constants.chatTypeOneToOne);
|
chatsModel.joinChat(pubKey, Constants.chatTypeOneToOne);
|
||||||
popup.close()
|
popup.close()
|
||||||
}
|
}
|
||||||
|
visible: (model.isContact && (chatKey.text === "" ||
|
||||||
|
model.name.toLowerCase().includes(chatKey.text.toLowerCase()) ||
|
||||||
|
model.address.toLowerCase().includes(chatKey.text.toLowerCase()))) ||
|
||||||
|
popup.pubKey === model.pubKey
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue