about summary refs log tree commit diff stats
path: root/src/command
diff options
context:
space:
mode:
Diffstat (limited to 'src/command')
-rw-r--r--src/command/cmd_defs.c12
-rw-r--r--src/command/cmd_funcs.c6
2 files changed, 12 insertions, 6 deletions
diff --git a/src/command/cmd_defs.c b/src/command/cmd_defs.c
index 6d4a6ab9..1bad76cf 100644
--- a/src/command/cmd_defs.c
+++ b/src/command/cmd_defs.c
@@ -795,21 +795,21 @@ static struct cmd_t command_defs[] =
             CMD_TAG_GROUPCHAT)
         CMD_SYN(
             "/rooms",
-            "/rooms filter <glob>",
+            "/rooms filter <text>",
             "/rooms service <service>",
-            "/rooms service <service> filter <glob>")
+            "/rooms service <service> filter <text>")
         CMD_DESC(
             "List the chat rooms available at the specified conference service. "
             "If no argument is supplied, the account preference 'muc.service' is used, 'conference.<domain-part>' by default. "
-            "The filter argument accepts a glob (including * and ?) and filters the results.")
+            "The filter argument only shows rooms that contain the provided text, case insensitive.")
         CMD_ARGS(
             { "service <service>", "The conference service to query." },
-            { "filter <glob>", "The glob to filter results by."})
+            { "filter <text>", "The text to filter results by."})
         CMD_EXAMPLES(
             "/rooms",
-            "/rooms filter *development*",
+            "/rooms filter development",
             "/rooms service conference.jabber.org",
-            "/rooms service conference.jabber.org filter *xsf*")
+            "/rooms service conference.jabber.org filter \"News Room\"")
     },
 
     { "/bookmark",
diff --git a/src/command/cmd_funcs.c b/src/command/cmd_funcs.c
index 65ac7344..bde86835 100644
--- a/src/command/cmd_funcs.c
+++ b/src/command/cmd_funcs.c
@@ -4458,6 +4458,12 @@ cmd_rooms(ProfWin *window, const char *const command, gchar **args)
         }
     }
 
+    cons_show("");
+    if (filter) {
+        cons_show("Room list request sent: %s, filter: '%s'", service, filter);
+    } else {
+        cons_show("Room list request sent: %s", service);
+    }
     iq_room_list_request(service, filter);
 
     g_free(service);