diff options
author | George Hazan <ghazan@miranda.im> | 2023-02-17 17:03:07 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2023-02-17 17:03:07 +0300 |
commit | 8ffa00861ad0c00bcb11a7f90d91c38940d4d62b (patch) | |
tree | 293f9b39aefe43de2884e8c4e4d54d9a515e04be /src | |
parent | 2ad758d4602a37e7a0ce2016a452ed769553437f (diff) |
fix for duplicated VK chats
Diffstat (limited to 'src')
-rw-r--r-- | src/mir_app/src/chat_clist.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_app/src/chat_clist.cpp b/src/mir_app/src/chat_clist.cpp index 3981986acd..2246219438 100644 --- a/src/mir_app/src/chat_clist.cpp +++ b/src/mir_app/src/chat_clist.cpp @@ -72,7 +72,7 @@ MCONTACT AddRoom(const char *pszModule, const wchar_t *pszRoom, const wchar_t *p if (auto *pa = Proto_GetAccount(pszModule)) {
if (MBaseProto *pd = g_arProtos.find((MBaseProto *)&pa->szProtoName)) {
if (pd->iUniqueIdType == DBVT_DWORD)
- db_set_w(hContact, pszModule, pd->szUniqueId, _wtoi(pszRoom));
+ db_set_dw(hContact, pszModule, pd->szUniqueId, _wtoi(pszRoom));
else
db_set_ws(hContact, pszModule, pd->szUniqueId, pszRoom);
}
|