mirror of
https://github.com/profanity-im/profanity.git
synced 2025-01-03 14:57:42 -05:00
Change restarted omemo text
This commit is contained in:
parent
b235eb2351
commit
c815547cba
@ -873,14 +873,14 @@ wins_reestablished_connection(void)
|
|||||||
ProfChatWin* chatwin = (ProfChatWin*)window;
|
ProfChatWin* chatwin = (ProfChatWin*)window;
|
||||||
assert(chatwin->memcheck == PROFCHATWIN_MEMCHECK);
|
assert(chatwin->memcheck == PROFCHATWIN_MEMCHECK);
|
||||||
if (chatwin->is_omemo) {
|
if (chatwin->is_omemo) {
|
||||||
win_println(window, THEME_TEXT, "-", "Re-establish OMEMO session");
|
win_println(window, THEME_TEXT, "-", "Restarted OMEMO session.");
|
||||||
omemo_start_session(chatwin->barejid);
|
omemo_start_session(chatwin->barejid);
|
||||||
}
|
}
|
||||||
} else if (window->type == WIN_MUC) {
|
} else if (window->type == WIN_MUC) {
|
||||||
ProfMucWin* mucwin = (ProfMucWin*)window;
|
ProfMucWin* mucwin = (ProfMucWin*)window;
|
||||||
assert(mucwin->memcheck == PROFMUCWIN_MEMCHECK);
|
assert(mucwin->memcheck == PROFMUCWIN_MEMCHECK);
|
||||||
if (mucwin->is_omemo) {
|
if (mucwin->is_omemo) {
|
||||||
win_println(window, THEME_TEXT, "-", "Re-establish OMEMO session");
|
win_println(window, THEME_TEXT, "-", "Restarted OMEMO session.");
|
||||||
omemo_start_muc_sessions(mucwin->roomjid);
|
omemo_start_muc_sessions(mucwin->roomjid);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user