summaryrefslogtreecommitdiff
path: root/src/mir_app
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-10-30 18:15:13 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-10-30 18:15:39 +0300
commit6876dbedc149f78702fee4ea60194a3b12eee2c7 (patch)
treef6f112928ed8900f3578e474a72622a1600816e4 /src/mir_app
parentebb9f5de71d23cae2c4ec469b38521ba345cf543 (diff)
attempt to fix problems with explicit group chat unhiding (even if a user manually hid them)
Diffstat (limited to 'src/mir_app')
-rw-r--r--src/mir_app/src/chat_manager.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/mir_app/src/chat_manager.cpp b/src/mir_app/src/chat_manager.cpp
index 8daeeaadf0..f2bb050eb9 100644
--- a/src/mir_app/src/chat_manager.cpp
+++ b/src/mir_app/src/chat_manager.cpp
@@ -415,12 +415,8 @@ BOOL SM_SetStatus(const char *pszModule, SESSION_INFO *si, int wStatus)
}
si->wStatus = wStatus;
- if (si->hContact) {
- if (si->iType != GCW_SERVER && wStatus != ID_STATUS_OFFLINE)
- Contact_Hide(si->hContact, false);
-
+ if (si->hContact)
db_set_w(si->hContact, si->pszModule, "Status", (WORD)wStatus);
- }
if (g_chatApi.OnSetStatus)
g_chatApi.OnSetStatus(si, wStatus);