mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Merge branch 'master' into osx-functional
This commit is contained in:
commit
d61e1b3149
@ -707,6 +707,8 @@ ui_close_connected_win(int index)
|
|||||||
ProfMucWin *mucwin = (ProfMucWin*) window;
|
ProfMucWin *mucwin = (ProfMucWin*) window;
|
||||||
assert(mucwin->memcheck == PROFMUCWIN_MEMCHECK);
|
assert(mucwin->memcheck == PROFMUCWIN_MEMCHECK);
|
||||||
presence_leave_chat_room(mucwin->roomjid);
|
presence_leave_chat_room(mucwin->roomjid);
|
||||||
|
muc_leave(mucwin->roomjid);
|
||||||
|
ui_leave_room(mucwin->roomjid);
|
||||||
} else if (window->type == WIN_CHAT) {
|
} else if (window->type == WIN_CHAT) {
|
||||||
ProfChatWin *chatwin = (ProfChatWin*) window;
|
ProfChatWin *chatwin = (ProfChatWin*) window;
|
||||||
assert(chatwin->memcheck == PROFCHATWIN_MEMCHECK);
|
assert(chatwin->memcheck == PROFCHATWIN_MEMCHECK);
|
||||||
|
Loading…
Reference in New Issue
Block a user