# HG changeset patch # User Mikael Berthe # Date 1399822007 -7200 # Node ID 44c4b850263a411b7bd5365486fe68947b0a0f64 # Parent 332818e5daa1131873a468f74e48cde828df015f Cosmetics diff -r 332818e5daa1 -r 44c4b850263a mcabber/mcabber/xmpp.c --- a/mcabber/mcabber/xmpp.c Sun May 11 17:19:34 2014 +0200 +++ b/mcabber/mcabber/xmpp.c Sun May 11 17:26:47 2014 +0200 @@ -1291,7 +1291,8 @@ if (res) *res++ = 0; scr_WriteIncomingMessage(bjid, body, timestamp, HBB_PREFIX_IN, 0); - scr_LogPrint(LPRINT_DEBUG, "carbon from:%s", lm_message_node_get_attribute(x, "from")); + scr_LogPrint(LPRINT_DEBUG, "carbon from:%s", + lm_message_node_get_attribute(x, "from")); } else if (!g_strcmp0(x->name, "sent")) { x = lm_message_node_find_xmlns(x, "urn:xmpp:forward:0"); @@ -1302,7 +1303,7 @@ bjid = g_strdup(to); res = strchr(bjid, JID_RESOURCE_SEPARATOR); if (res) *res++ = 0; - + scr_write_outgoing_message(bjid, body, 0, NULL); } } @@ -1330,7 +1331,8 @@ { // xep184 receipt confirmation LmMessageNode *received = lm_message_node_get_child(m->node, "received"); - if (received && !g_strcmp0(lm_message_node_get_attribute(received, "xmlns"), NS_RECEIPTS)) { + if (received && !g_strcmp0(lm_message_node_get_attribute(received, "xmlns"), + NS_RECEIPTS)) { char *jid = jidtodisp(from); const char *id = lm_message_node_get_attribute(received, "id"); // This is for backward compatibility; if the remote client didn't add