about summary refs log tree commit diff stats
path: root/src/ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/core.c b/src/ui/core.c
index dd20bba8..e7264435 100644
--- a/src/ui/core.c
+++ b/src/ui/core.c
@@ -710,6 +710,7 @@ ui_close_connected_win(int index)
                 if (chat_session_get_recipient_supports(chatwin->barejid)) {
                     chat_session_set_gone(chatwin->barejid);
                     message_send_gone(chatwin->barejid);
+                    chat_session_set_sent(chatwin->barejid);
                     chat_session_end(chatwin->barejid);
                 }
             }
@@ -1175,6 +1176,7 @@ ui_prune_wins(void)
                     if (chat_session_get_recipient_supports(chatwin->barejid)) {
                         chat_session_set_gone(chatwin->barejid);
                         message_send_gone(chatwin->barejid);
+                        chat_session_set_sent(chatwin->barejid);
                         chat_session_end(chatwin->barejid);
                     }
                 }