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
eaf25a713a
@ -545,6 +545,12 @@ sv_ev_contact_offline(char *barejid, char *resource, char *status)
|
|||||||
ui_contact_offline(barejid, resource, status);
|
ui_contact_offline(barejid, resource, status);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ProfChatWin *chatwin = wins_get_chat(barejid);
|
||||||
|
if (chatwin && otr_is_secure(barejid)) {
|
||||||
|
chatwin_otr_unsecured(chatwin);
|
||||||
|
otr_end_session(chatwin->barejid);
|
||||||
|
}
|
||||||
|
|
||||||
rosterwin_roster();
|
rosterwin_roster();
|
||||||
chat_session_remove(barejid);
|
chat_session_remove(barejid);
|
||||||
}
|
}
|
||||||
|
@ -992,7 +992,7 @@ ui_contact_offline(char *barejid, char *resource, char *status)
|
|||||||
chatwin_contact_offline(chatwin, resource, status);
|
chatwin_contact_offline(chatwin, resource, status);
|
||||||
}
|
}
|
||||||
|
|
||||||
// show in char win if "online" and presence online
|
// show in chat win if "online" and presence online
|
||||||
} else if (g_strcmp0(show_chat_win, "online") == 0) {
|
} else if (g_strcmp0(show_chat_win, "online") == 0) {
|
||||||
ProfChatWin *chatwin = wins_get_chat(barejid);
|
ProfChatWin *chatwin = wins_get_chat(barejid);
|
||||||
if (chatwin) {
|
if (chatwin) {
|
||||||
|
Loading…
Reference in New Issue
Block a user