diff options
author | MarcoPolo-PasTonMolo <marcopolopastonmolo@protonmail.com> | 2022-06-17 15:51:45 +0300 |
---|---|---|
committer | MarcoPolo-PasTonMolo <marcopolopastonmolo@protonmail.com> | 2022-06-17 15:51:45 +0300 |
commit | f1d1a80d07ed1fa06f04347ac975f8c2d705fb27 (patch) | |
tree | 0af2a3fbae51d3ac1c704aa290693f35f61853fd /src | |
parent | e4e53d6e01642e0f4ca98d7fb41e20d39d045bfe (diff) | |
download | profani-tty-f1d1a80d07ed1fa06f04347ac975f8c2d705fb27.tar.gz |
Fix build without omemo
Diffstat (limited to 'src')
-rw-r--r-- | src/ui/chatwin.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/chatwin.c b/src/ui/chatwin.c index 4088ae38..c7cf8ddb 100644 --- a/src/ui/chatwin.c +++ b/src/ui/chatwin.c @@ -132,9 +132,11 @@ chatwin_new(const char* const barejid) win_println(window, THEME_DEFAULT, "!", "This chat could be either OMEMO, PGP, OX or OTR encrypted, but not more than one. " "Use '/omemo start', '/pgp start', '/ox start' or '/otr start' to select the encryption method."); } else if (is_omemo_secure) { +#ifdef HAVE_OMEMO // Start the OMEMO session omemo_start_session(barejid); chatwin->is_omemo = TRUE; +#endif } else if (_pgp_automatic_start(barejid)) { // Start the PGP session chatwin->pgp_send = TRUE; |