summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_console.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/JabberG/src/jabber_console.cpp')
-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));