From 1bb75f40d26ad20381a200e09eaa9f519cffe398 Mon Sep 17 00:00:00 2001 From: Marvin W Date: Sun, 22 Dec 2019 19:28:40 +0100 Subject: Add timing to logs, fix issue of silently ignored I/O errors --- libdino/src/service/message_processor.vala | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libdino/src/service') diff --git a/libdino/src/service/message_processor.vala b/libdino/src/service/message_processor.vala index fd575bf5..a7d186ef 100644 --- a/libdino/src/service/message_processor.vala +++ b/libdino/src/service/message_processor.vala @@ -218,13 +218,12 @@ public class MessageProcessor : StreamInteractionModule, Object { } while (iq != null) { - debug("MAM: [%s] IN: %s", account.bare_jid.to_string(), iq.stanza.to_string()); string? earliest_id = iq.stanza.get_deep_string_content("urn:xmpp:mam:2:fin", "http://jabber.org/protocol/rsm" + ":set", "first"); if (earliest_id == null) return true; if (!mam_times[account].has_key(earliest_id)) error("wtf"); - debug("MAM: [%s] Update from_id %s\n", account.bare_jid.to_string(), earliest_id); + debug("MAM: [%s] Update from_id %s", account.bare_jid.to_string(), earliest_id); if (!current_catchup_id.has_key(account)) { debug("MAM: [%s] We get our first MAM page", account.bare_jid.to_string()); string? latest_id = iq.stanza.get_deep_string_content("urn:xmpp:mam:2:fin", "http://jabber.org/protocol/rsm" + ":set", "last"); -- cgit v1.2.3-70-g09d2