mirror of
https://github.com/profanity-im/profanity.git
synced 2025-02-02 15:08:15 -05:00
Fix build without omemo
This commit is contained in:
parent
e4e53d6e01
commit
f1d1a80d07
@ -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. "
|
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.");
|
"Use '/omemo start', '/pgp start', '/ox start' or '/otr start' to select the encryption method.");
|
||||||
} else if (is_omemo_secure) {
|
} else if (is_omemo_secure) {
|
||||||
|
#ifdef HAVE_OMEMO
|
||||||
// Start the OMEMO session
|
// Start the OMEMO session
|
||||||
omemo_start_session(barejid);
|
omemo_start_session(barejid);
|
||||||
chatwin->is_omemo = TRUE;
|
chatwin->is_omemo = TRUE;
|
||||||
|
#endif
|
||||||
} else if (_pgp_automatic_start(barejid)) {
|
} else if (_pgp_automatic_start(barejid)) {
|
||||||
// Start the PGP session
|
// Start the PGP session
|
||||||
chatwin->pgp_send = TRUE;
|
chatwin->pgp_send = TRUE;
|
||||||
|
Loading…
Reference in New Issue
Block a user