summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/controls.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-11-28 17:34:41 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-11-28 17:34:51 +0300
commit1a5dc583b048727752b8f72df676ec408908041f (patch)
tree5204a5dbcbe84ed7cff02bff9e6ee32ff8598c3f /plugins/TabSRMM/src/controls.cpp
parent4f961df4a3bb6577a0024e341adb9fed6d965edf (diff)
user typing notification for Discord group chats
Diffstat (limited to 'plugins/TabSRMM/src/controls.cpp')
-rw-r--r--plugins/TabSRMM/src/controls.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/TabSRMM/src/controls.cpp b/plugins/TabSRMM/src/controls.cpp
index 4c426a9e1d..c9b04eb7c3 100644
--- a/plugins/TabSRMM/src/controls.cpp
+++ b/plugins/TabSRMM/src/controls.cpp
@@ -956,11 +956,11 @@ LONG_PTR CALLBACK CMsgDialog::StatusBarSubclassProc(HWND hWnd, UINT msg, WPARAM
break;
if (!mir_strcmp(sid->szModule, MSG_ICON_MODULE)) {
- if (sid->dwId == MSG_ICON_SOUND)
+ if (sid->dwId == MSG_ICON_SOUND) {
mir_snwprintf(wBuf, TranslateT("Sounds are %s. Click to toggle status, hold Shift and click to set for all open containers"),
pContainer->m_flags.m_bNoSound ? TranslateT("disabled") : TranslateT("enabled"));
-
- else if (sid->dwId == MSG_ICON_UTN && (!dat->isChat() || dat->m_si->iType == GCW_PRIVMESS)) {
+ }
+ else if (sid->dwId == MSG_ICON_UTN && dat->AllowTyping()) {
int mtnStatus = g_plugin.getByte(dat->m_hContact, SRMSGSET_TYPING, g_plugin.getByte(SRMSGSET_TYPINGNEW, SRMSGDEFSET_TYPINGNEW));
mir_snwprintf(wBuf, TranslateT("Sending typing notifications is %s."),
mtnStatus ? TranslateT("enabled") : TranslateT("disabled"));