diff -r e53e50de3444 -r 6fe6bf9a695b pidgin/gtkconv.c --- a/pidgin/gtkconv.c Tue May 31 00:07:27 2022 -0500 +++ b/pidgin/gtkconv.c Thu Jun 02 20:15:50 2022 -0500 @@ -9806,9 +9806,6 @@ if (win->gtkconvs && win->gtkconvs->next == NULL) pidgin_conv_tab_pack(win, win->gtkconvs->data); - if (!win->gtkconvs && win != hidden_convwin) - pidgin_conv_window_destroy(win); - for (gtkconvs = win->gtkconvs; gtkconvs != NULL; gtkconvs = gtkconvs->next) { gtkconvs_data = gtkconvs->data; if(gtkconvs_data != NULL) { @@ -9816,6 +9813,9 @@ GINT_TO_POINTER(0)); } } + + if (!win->gtkconvs && win != hidden_convwin) + pidgin_conv_window_destroy(win); } PidginConversation *