summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-11-15 13:00:03 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-11-15 13:00:03 +0300
commitc578a1c8bbaf3d3676ed412ac466423b1ddc65d5 (patch)
tree01982d74eb6a7f098a7ee8e8e37142c05721927e /src
parentf708f2a55a467092b70a537c2b97c9210440a420 (diff)
fixes #3248 (wrong default clist group for group chats)
Diffstat (limited to 'src')
-rw-r--r--src/mir_app/src/chat_clist.cpp2
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 68b9386074..f9c1eb4597 100644
--- a/src/mir_app/src/chat_clist.cpp
+++ b/src/mir_app/src/chat_clist.cpp
@@ -38,7 +38,7 @@ MCONTACT AddRoom(const char *pszModule, const wchar_t *pszRoom, const wchar_t *p
if (hContact) { // contact exist, make sure it is in the right group
if (mir_wstrlen(wszGroup)) {
ptrW grpName(Clist_GetGroup(hContact));
- if (!mir_wstrcmp(wszGroup, grpName))
+ if (mir_wstrcmp(wszGroup, grpName))
Clist_SetGroup(hContact, wszGroup);
}