comparison mcabber/mcabber/xmpp.c @ 2161:28ee843ddc02

Do not skip Carbons of encrypted messages Since we don't know we were not the intended recipient of the encrypted message, try to read encrypted messages even if we are not the primary recipient.
author Mikael Berthe <mikael@lilotux.net>
date Sun, 26 Oct 2014 12:48:50 +0100
parents 96427d9e993c
children db6ca1e1e082
comparison
equal deleted inserted replaced
2160:798baf5db4eb 2161:28ee843ddc02
1306 if (res) *res++ = 0; 1306 if (res) *res++ = 0;
1307 1307
1308 if (body && *body && !subject && !enc) 1308 if (body && *body && !subject && !enc)
1309 ns_signed = lm_message_node_find_xmlns(x, NS_SIGNED); 1309 ns_signed = lm_message_node_find_xmlns(x, NS_SIGNED);
1310 else 1310 else
1311 skip_process = TRUE;
1312
1313 // We (probably) cannot handle encrypted forwarded messages
1314 if (lm_message_node_find_xmlns(x, NS_ENCRYPTED))
1315 skip_process = TRUE; 1311 skip_process = TRUE;
1316 1312
1317 // Try to handle forwarded chat state messages 1313 // Try to handle forwarded chat state messages
1318 handle_state_events(from, x); 1314 handle_state_events(from, x);
1319 1315