summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/misc.cpp
diff options
context:
space:
mode:
authorElzorFox <elzorfox@ya.ru>2024-04-01 15:27:24 +0500
committerElzorFox <elzorfox@ya.ru>2024-04-01 15:27:24 +0500
commitd4ab2e7d0147a5443b5fbf03dedc3324f0b1b2cf (patch)
tree59abe93b92745f8a5f269f3a506a1e056c203ee9 /protocols/VKontakte/src/misc.cpp
parent29d669dd1abca08c6fb72a1b837bc4e3665e7d33 (diff)
VKontakte:
fix #4308 add full support for sync muc history version bump
Diffstat (limited to 'protocols/VKontakte/src/misc.cpp')
-rw-r--r--protocols/VKontakte/src/misc.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/VKontakte/src/misc.cpp b/protocols/VKontakte/src/misc.cpp
index bf278341b0..fb8127a1b6 100644
--- a/protocols/VKontakte/src/misc.cpp
+++ b/protocols/VKontakte/src/misc.cpp
@@ -867,8 +867,7 @@ int CVkProto::OnProcessSrmmEvent(WPARAM uType, LPARAM lParam)
if (uType == MSG_WINDOW_EVT_OPENING && !g_bMessageState)
SetSrmmReadStatus(pDlg->m_hContact);
- if (uType == MSG_WINDOW_EVT_OPENING && m_vkOptions.bLoadLastMessageOnMsgWindowsOpen
- && !isChatRoom(pDlg->m_hContact) && IsHystoryMessageExist(pDlg->m_hContact) != 1) {
+ if (uType == MSG_WINDOW_EVT_OPENING && m_vkOptions.bLoadLastMessageOnMsgWindowsOpen && IsHystoryMessageExist(pDlg->m_hContact) != 1) {
m_bNotifyForEndLoadingHistory = false;
if (!getBool(pDlg->m_hContact, "ActiveHistoryTask")) {
setByte(pDlg->m_hContact, "ActiveHistoryTask", 1);