comparison mcabber/mcabber/xmpp.c @ 2159:96427d9e993c

Fix chatstates handling in Message Carbons
author Mikael Berthe <mikael@lilotux.net>
date Sat, 04 Oct 2014 21:45:27 +0200
parents a54c084af4d6
children 28ee843ddc02
comparison
equal deleted inserted replaced
2158:215191ca8716 2159:96427d9e993c
1313 // We (probably) cannot handle encrypted forwarded messages 1313 // We (probably) cannot handle encrypted forwarded messages
1314 if (lm_message_node_find_xmlns(x, NS_ENCRYPTED)) 1314 if (lm_message_node_find_xmlns(x, NS_ENCRYPTED))
1315 skip_process = TRUE; 1315 skip_process = TRUE;
1316 1316
1317 // Try to handle forwarded chat state messages 1317 // Try to handle forwarded chat state messages
1318 if (!skip_process) 1318 handle_state_events(from, x);
1319 handle_state_events(from, x);
1320 1319
1321 scr_LogPrint(LPRINT_DEBUG, "Received incoming carbon from <%s>", from); 1320 scr_LogPrint(LPRINT_DEBUG, "Received incoming carbon from <%s>", from);
1322 1321
1323 } else if (!g_strcmp0(x->name, "sent")) { 1322 } else if (!g_strcmp0(x->name, "sent")) {
1324 x = lm_message_node_find_xmlns(x, "urn:xmpp:forward:0"); 1323 x = lm_message_node_find_xmlns(x, "urn:xmpp:forward:0");