mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Merge pull request #1878 from profanity-im/fix/oxcarbon
ox: correctly recognize ox encrypted carbons
This commit is contained in:
commit
568266ec6b
@ -471,6 +471,8 @@ sv_ev_outgoing_carbon(ProfMessage* message)
|
||||
|
||||
if (message->enc == PROF_MSG_ENC_OMEMO) {
|
||||
chatwin_outgoing_carbon(chatwin, message);
|
||||
} else if (message->enc == PROF_MSG_ENC_OX) {
|
||||
chatwin_outgoing_carbon(chatwin, message);
|
||||
} else if (message->encrypted) {
|
||||
#ifdef HAVE_LIBGPGME
|
||||
message->plain = p_gpg_decrypt(message->encrypted);
|
||||
|
@ -467,6 +467,8 @@ chatwin_outgoing_carbon(ProfChatWin* chatwin, ProfMessage* message)
|
||||
enc_char = prefs_get_pgp_char();
|
||||
} else if (message->enc == PROF_MSG_ENC_OMEMO) {
|
||||
enc_char = prefs_get_omemo_char();
|
||||
} else if (message->enc == PROF_MSG_ENC_OX) {
|
||||
enc_char = prefs_get_ox_char();
|
||||
} else {
|
||||
enc_char = strdup("-");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user