aboutsummaryrefslogtreecommitdiff
path: root/libdino
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2019-12-22 19:28:40 +0100
committerMarvin W <git@larma.de>2019-12-22 19:30:16 +0100
commit1bb75f40d26ad20381a200e09eaa9f519cffe398 (patch)
tree08f8d993505701ee879e9aa1c6d08106928ec9cb /libdino
parent9ef4dddfdc40f515be6c780bf9fa089111590a74 (diff)
downloaddino-1bb75f40d26ad20381a200e09eaa9f519cffe398.tar.gz
dino-1bb75f40d26ad20381a200e09eaa9f519cffe398.zip
Add timing to logs, fix issue of silently ignored I/O errors
Diffstat (limited to 'libdino')
-rw-r--r--libdino/src/service/message_processor.vala3
1 files changed, 1 insertions, 2 deletions
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");