diff options
author | George Hazan <george.hazan@gmail.com> | 2014-01-25 21:57:38 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-01-25 21:57:38 +0000 |
commit | c5232695a2c245390904e8a9cd05df2e507f985c (patch) | |
tree | 313d78f55cbaa32a20b50e491e0b2b5abd0c511c /protocols/VKontakte/src/misc.cpp | |
parent | b7dc2813cd35d4a8a613b3fb6ef1a1408d86550a (diff) |
VKontakte: chats don't go offline when a protocol does
git-svn-id: http://svn.miranda-ng.org/main/trunk@7895 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/misc.cpp')
-rw-r--r-- | protocols/VKontakte/src/misc.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/protocols/VKontakte/src/misc.cpp b/protocols/VKontakte/src/misc.cpp index 2de4e27248..a0d8a7abc8 100644 --- a/protocols/VKontakte/src/misc.cpp +++ b/protocols/VKontakte/src/misc.cpp @@ -27,9 +27,8 @@ void CVkProto::SetAllContactStatuses(int iStatus) {
for (HANDLE hContact = db_find_first(m_szModuleName); hContact; hContact = db_find_next(hContact, m_szModuleName)) {
if (isChatRoom(hContact))
- continue;
-
- if (getWord(hContact, "Status", 0) != iStatus)
+ SetChatStatus(hContact, iStatus);
+ else if (getWord(hContact, "Status", 0) != iStatus)
setWord(hContact, "Status", iStatus);
}
}
|