Send room destroy iq on /room config cancel
This commit is contained in:
@@ -1803,6 +1803,8 @@ cmd_room(gchar **args, struct cmd_help_t help)
|
||||
|
||||
} else if (g_strcmp0(args[1], "cancel") == 0) {
|
||||
// check that we're in room, we're owner and room requires configuration
|
||||
char *room = ui_current_recipient();
|
||||
iq_destroy_instant_room(room);
|
||||
|
||||
} else {
|
||||
cons_show("Usage: %s", help.usage);
|
||||
|
||||
Reference in New Issue
Block a user