1
1
mirror of https://github.com/profanity-im/profanity.git synced 2025-01-03 14:57:42 -05:00

Change formatting

This commit is contained in:
Michael Vetter 2020-07-03 12:35:48 +02:00
parent 8d8ef675cd
commit 14f33e54f6

View File

@ -1234,11 +1234,12 @@ _handle_carbons(xmpp_stanza_t *const stanza)
if (x) { if (x) {
message->encrypted = xmpp_stanza_get_text(x); message->encrypted = xmpp_stanza_get_text(x);
} }
// OX // OX
xmpp_stanza_t *ox = xmpp_stanza_get_child_by_ns(message_stanza, STANZA_NS_OPENPGP_0); xmpp_stanza_t *ox = xmpp_stanza_get_child_by_ns(message_stanza, STANZA_NS_OPENPGP_0);
if( ox ) { if( ox ) {
message->enc=PROF_MSG_ENC_OX; message->enc=PROF_MSG_ENC_OX;
_handle_ox_chat(message_stanza,message, FALSE); _handle_ox_chat(message_stanza, message, FALSE);
} }
//TODO: maybe also add is_carbon maybe even an enum with outgoing/incoming //TODO: maybe also add is_carbon maybe even an enum with outgoing/incoming