1
0
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:
Michael Vetter 2021-06-02 13:10:42 +02:00
parent b235eb2351
commit c815547cba

View File

@ -873,14 +873,14 @@ wins_reestablished_connection(void)
ProfChatWin* chatwin = (ProfChatWin*)window;
assert(chatwin->memcheck == PROFCHATWIN_MEMCHECK);
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);
}
} else if (window->type == WIN_MUC) {
ProfMucWin* mucwin = (ProfMucWin*)window;
assert(mucwin->memcheck == PROFMUCWIN_MEMCHECK);
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);
}
}