about summary refs log tree commit diff stats
path: root/src/command/cmd_funcs.c
diff options
context:
space:
mode:
authorPaul Fariello <paul@fariello.eu>2018-05-30 20:45:06 +0320
committerPaul Fariello <paul@fariello.eu>2018-09-05 13:51:00 +0200
commitb11d3a79df49970b4563bbd40c4db3f53c99dfeb (patch)
treefd728212d3ef74b13a59b6e8fd3fe9a3727611ee /src/command/cmd_funcs.c
parenta952776b899dd29056ad6779b14dab75a4125924 (diff)
downloadprofani-tty-b11d3a79df49970b4563bbd40c4db3f53c99dfeb.tar.gz
Add conf win callback
Diffstat (limited to 'src/command/cmd_funcs.c')
-rw-r--r--src/command/cmd_funcs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command/cmd_funcs.c b/src/command/cmd_funcs.c
index 6f1d7d51..475a81b4 100644
--- a/src/command/cmd_funcs.c
+++ b/src/command/cmd_funcs.c
@@ -3899,11 +3899,11 @@ cmd_form(ProfWin *window, const char *const command, gchar **args)
     }
 
     if (g_strcmp0(args[0], "submit") == 0) {
-        iq_submit_room_config(confwin->roomjid, confwin->form);
+        confwin->submit(confwin);
     }
 
     if (g_strcmp0(args[0], "cancel") == 0) {
-        iq_room_config_cancel(confwin->roomjid);
+        confwin->cancel(confwin);
     }
 
     if ((g_strcmp0(args[0], "submit") == 0) || (g_strcmp0(args[0], "cancel") == 0)) {