Mercurial > ~mikael > mcabber > hg
comparison mcabber/mcabber/xmpp.c @ 2109:0c2276f60f78
Less verbose logging of received carbons
author | Roeland Jago Douma <roeland@famdouma.nl> |
---|---|
date | Tue, 15 Oct 2013 19:10:48 +0200 |
parents | 1cc84780eb5f |
children | 44c4b850263a |
comparison
equal
deleted
inserted
replaced
2108:adfd962e1343 | 2109:0c2276f60f78 |
---|---|
1289 bjid = g_strdup(from); | 1289 bjid = g_strdup(from); |
1290 res = strchr(bjid, JID_RESOURCE_SEPARATOR); | 1290 res = strchr(bjid, JID_RESOURCE_SEPARATOR); |
1291 if (res) *res++ = 0; | 1291 if (res) *res++ = 0; |
1292 scr_WriteIncomingMessage(bjid, body, timestamp, HBB_PREFIX_IN, 0); | 1292 scr_WriteIncomingMessage(bjid, body, timestamp, HBB_PREFIX_IN, 0); |
1293 | 1293 |
1294 scr_LogPrint(LPRINT_NORMAL|LPRINT_DEBUG, "carbon from:%s", lm_message_node_get_attribute(x, "from")); | 1294 scr_LogPrint(LPRINT_DEBUG, "carbon from:%s", lm_message_node_get_attribute(x, "from")); |
1295 | 1295 |
1296 } else if (!g_strcmp0(x->name, "sent")) { | 1296 } else if (!g_strcmp0(x->name, "sent")) { |
1297 x = lm_message_node_find_xmlns(x, "urn:xmpp:forward:0"); | 1297 x = lm_message_node_find_xmlns(x, "urn:xmpp:forward:0"); |
1298 x = lm_message_node_get_child(x, "message"); | 1298 x = lm_message_node_get_child(x, "message"); |
1299 | 1299 |