about summary refs log tree commit diff stats
path: root/src/command/commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/command/commands.c')
-rw-r--r--src/command/commands.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/command/commands.c b/src/command/commands.c
index 541a3e3e..857427c6 100644
--- a/src/command/commands.c
+++ b/src/command/commands.c
@@ -1797,7 +1797,9 @@ cmd_room(gchar **args, struct cmd_help_t help)
     }
 
     if (g_strcmp0(args[1], "accept") == 0) {
-        // check that we're in room, we're owner and room requires configuration
+        // TODO check that we're in room, we're owner and room requires configuration
+        char *room = ui_current_recipient();
+        iq_create_instant_room(room);
 
     } else if (g_strcmp0(args[1], "cancel") == 0) {
         // check that we're in room, we're owner and room requires configuration