diff options
Diffstat (limited to 'protocols/VKontakte/src/vk_feed.cpp')
-rw-r--r-- | protocols/VKontakte/src/vk_feed.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_feed.cpp b/protocols/VKontakte/src/vk_feed.cpp index 85dcdd5343..ac23773168 100644 --- a/protocols/VKontakte/src/vk_feed.cpp +++ b/protocols/VKontakte/src/vk_feed.cpp @@ -40,8 +40,10 @@ void CVkProto::AddFeedSpecialUser() setWString(hContact, "Homepage", L"https://vk.com/feed");
}
- DBSetWord(hContact, "Status", ID_STATUS_ONLINE, ID_STATUS_OFFLINE);
+ if (getWord(hContact, "Status") != ID_STATUS_ONLINE)
+ setWord(hContact, "Status", ID_STATUS_ONLINE);
SetMirVer(hContact, 7);
+
}
void CVkProto::AddFeedEvent(CVKNewsItem& vkNewsItem)
|