about summary refs log tree commit diff stats
path: root/src/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/command.c')
-rw-r--r--src/command.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/command.c b/src/command.c
index d9536411..b91a1180 100644
--- a/src/command.c
+++ b/src/command.c
@@ -1093,6 +1093,7 @@ _cmd_close(const char * const inp, struct cmd_help_t help)
     if (win_in_groupchat()) {
         char *room_jid = win_get_recipient();
         jabber_leave_chat_room(room_jid);
+        win_close_win();
     } else if (win_in_chat()) {
 
         if (prefs_get_states()) {