--- 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