mirror of
https://github.com/savoirfairelinux/jami-client-qt.git
synced 2026-01-06 13:30:40 +08:00
contactmodel: refactor profile loading
Loading the profile elements from disk is now deferred to consumption. Implements a basic caching mechanism for the displayname and avatar elements. Gitlab: #1459 Change-Id: Ic5aeec6649c198f617b9269409ded647c7536b8f
This commit is contained in:
committed by
Adrien Béraud
parent
6d20d3b515
commit
610c27f751
@@ -64,7 +64,7 @@ TEST_F(ContactFixture, AddSIPContactTest)
|
||||
|
||||
// ModelUpdated signal spy
|
||||
QSignalSpy modelUpdatedSpy(globalEnv.lrcInstance->getCurrentContactModel(),
|
||||
&lrc::api::ContactModel::modelUpdated);
|
||||
&lrc::api::ContactModel::contactUpdated);
|
||||
|
||||
// Add temp contact test
|
||||
globalEnv.lrcInstance->getCurrentConversationModel()->setFilter("test");
|
||||
|
||||
Reference in New Issue
Block a user