diff options
author | William Wennerström <william@wstrm.dev> | 2020-12-09 19:02:37 +0100 |
---|---|---|
committer | William Wennerström <william@wstrm.dev> | 2020-12-09 19:02:37 +0100 |
commit | 00dbc1ba7c66c3bb6898aed26922bf5295768bb1 (patch) | |
tree | 7e9f5be0a64b29beccf9c3c5a74c5bb316368488 /src/ui | |
parent | b525befe67dbb8a8188033c4f33b57c46272f9f6 (diff) | |
download | profani-tty-00dbc1ba7c66c3bb6898aed26922bf5295768bb1.tar.gz |
Cast chat/muc window to correct type and refactor cmd_sendfile
Fixes #1449
Diffstat (limited to 'src/ui')
-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 1861232b..d1737561 100644 --- a/src/ui/chatwin.c +++ b/src/ui/chatwin.c @@ -80,6 +80,7 @@ chatwin_new(const char* const barejid) } } + chatwin->is_omemo = FALSE; #ifdef HAVE_OMEMO if (omemo_automatic_start(barejid)) { omemo_start_session(barejid); @@ -90,6 +91,7 @@ chatwin_new(const char* const barejid) if (prefs_get_boolean(PREF_MAM)) { iq_mam_request(chatwin); } + // XEP-0373: OpenPGP for XMPP chatwin->is_ox = FALSE; |