summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-09-14 06:57:58 -0700
committerGeorge Hazan <ghazan@miranda.im>2022-09-14 06:57:58 -0700
commitad775af04cab9f882612bcf03967e415dbfa13f7 (patch)
treee66ce9b69c49623ded68586c07b0f28f7a082d45 /protocols/JabberG/src
parentdf8fbeee2c636005f9ed02fc6f3df5d75641c63f (diff)
code simplification
Diffstat (limited to 'protocols/JabberG/src')
-rw-r--r--protocols/JabberG/src/jabber_console.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/protocols/JabberG/src/jabber_console.cpp b/protocols/JabberG/src/jabber_console.cpp
index 88df74e032..547ac15c80 100644
--- a/protocols/JabberG/src/jabber_console.cpp
+++ b/protocols/JabberG/src/jabber_console.cpp
@@ -469,12 +469,11 @@ public:
cmbFilter.AddStringA(g_JabberFeatCapPairs[i].szFeature);
for (int i = 0; i < g_cJabberFeatCapPairsExt; i++)
cmbFilter.AddStringA(g_JabberFeatCapPairsExt[i].szFeature);
+ }
- if (m_proto->m_filterInfo.type == TFilterInfo::T_XMLNS)
- break;
- __fallthrough;
-
+ switch (m_proto->m_filterInfo.type) {
case TFilterInfo::T_JID:
+ case TFilterInfo::T_ANY:
LISTFOREACH(i, m_proto, LIST_ROSTER)
if (auto *item = m_proto->ListGetItemPtrFromIndex(i))
cmbFilter.AddString(Utf2T(item->jid));