diff options
author | James Booth <boothj5@gmail.com> | 2014-09-03 13:55:06 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-09-03 13:55:06 +0100 |
commit | 09c10f62f20bafc599c12038170383853e4dc52e (patch) | |
tree | d3cd6c85c2aa329973146d65dc1b3a5845999c04 /src/command/commands.c | |
parent | d7b3e99a27f232dc5f0c38dfc8712c11ae7b4c30 (diff) | |
download | profani-tty-09c10f62f20bafc599c12038170383853e4dc52e.tar.gz |
Send instant room request
Diffstat (limited to 'src/command/commands.c')
-rw-r--r-- | src/command/commands.c | 4 |
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 |