Send instant room request

This commit is contained in:
James Booth
2014-09-03 13:55:06 +01:00
parent d7b3e99a27
commit 09c10f62f2
5 changed files with 47 additions and 1 deletions

View File

@@ -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