diff options
author | Michael Vetter <jubalh@iodoru.org> | 2019-06-07 20:37:12 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2019-06-07 21:14:44 +0200 |
commit | 2eb2bf3508de7ef810c50d9d7924d18120e67e1a (patch) | |
tree | f74bf037abfcbc21e88bdd986bcdac9659a22028 /src/command/cmd_funcs.c | |
parent | bee7846ea0b6333aa1f274e61a47596d05c79f6f (diff) | |
download | profani-tty-2eb2bf3508de7ef810c50d9d7924d18120e67e1a.tar.gz |
Print omemo start related msgs into correct window
Print them in the window of the contact. Not just the current window. Fix https://github.com/profanity-im/profanity/issues/1093
Diffstat (limited to 'src/command/cmd_funcs.c')
-rw-r--r-- | src/command/cmd_funcs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/command/cmd_funcs.c b/src/command/cmd_funcs.c index 9688cb09..c822decb 100644 --- a/src/command/cmd_funcs.c +++ b/src/command/cmd_funcs.c @@ -8075,17 +8075,17 @@ cmd_omemo_start(ProfWin *window, const char *const command, gchar **args) ui_focus_win((ProfWin*)chatwin); if (chatwin->pgp_send) { - win_println(window, THEME_DEFAULT, '!', "You must disable PGP encryption before starting an OMEMO session."); + win_println((ProfWin*)chatwin, THEME_DEFAULT, '!', "You must disable PGP encryption before starting an OMEMO session."); return TRUE; } if (chatwin->is_otr) { - win_println(window, THEME_DEFAULT, '!', "You must disable OTR encryption before starting an OMEMO session."); + win_println((ProfWin*)chatwin, THEME_DEFAULT, '!', "You must disable OTR encryption before starting an OMEMO session."); return TRUE; } if (chatwin->is_omemo) { - win_println(window, THEME_DEFAULT, '!', "You are already in an OMEMO session."); + win_println((ProfWin*)chatwin, THEME_DEFAULT, '!', "You are already in an OMEMO session"); return TRUE; } |