summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-12-10 19:24:11 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-12-10 19:24:11 +0300
commita5503773d0ec0070ebc1013dc70e0a56c7b5c902 (patch)
treead9258f86c418b222a29c24834b7f6aca561dd5f
parent07feb451bf28c855a383b395d1d27eb6e2558b66 (diff)
fixes #4040 (В списке контактов для пересылки появляется YAMN)
-rw-r--r--protocols/VKontakte/src/vk_dialogs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/VKontakte/src/vk_dialogs.cpp b/protocols/VKontakte/src/vk_dialogs.cpp
index 38897e61c7..36b2829126 100644
--- a/protocols/VKontakte/src/vk_dialogs.cpp
+++ b/protocols/VKontakte/src/vk_dialogs.cpp
@@ -177,7 +177,7 @@ CVkUserListForm::CVkUserListForm(CVkProto* proto) :
lContacts(20, NumericKeySortT),
uClcFilterFlag(0)
{
- m_clc.OnListRebuilt = Callback(this, &CVkUserListForm::FilterList);
+ m_clc.OnNewContact = m_clc.OnListRebuilt = Callback(this, &CVkUserListForm::FilterList);
}
@@ -194,7 +194,7 @@ CVkUserListForm::CVkUserListForm(CVkProto* proto, CMStringW _wszMessage, CMStrin
lContacts(5, PtrKeySortT),
uClcFilterFlag(_uClcFilterFlag)
{
- m_clc.OnListRebuilt = Callback(this, &CVkUserListForm::FilterList);
+ m_clc.OnNewContact = m_clc.OnListRebuilt = Callback(this, &CVkUserListForm::FilterList);
}
bool CVkUserListForm::OnInitDialog()