From fcec78ce27b23ba06b3e9439e04ddff7ee64f806 Mon Sep 17 00:00:00 2001 From: Marvin W Date: Fri, 18 Oct 2019 14:55:57 +0200 Subject: Use log during IBR --- libdino/src/service/registration.vala | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libdino/src/service/registration.vala') diff --git a/libdino/src/service/registration.vala b/libdino/src/service/registration.vala index f2384f52..4fcfdeba 100644 --- a/libdino/src/service/registration.vala +++ b/libdino/src/service/registration.vala @@ -56,6 +56,7 @@ public class Register : StreamInteractionModule, Object{ public static async ServerAvailabilityReturn check_server_availability(Jid jid) { XmppStream stream = new XmppStream(); + stream.log = new XmppLog(jid.to_string(), Application.print_xmpp); stream.add_module(new Tls.Module()); stream.add_module(new Iq.Module()); stream.add_module(new Xep.SrvRecordsTls.Module()); @@ -97,6 +98,7 @@ public class Register : StreamInteractionModule, Object{ public static async Xep.InBandRegistration.Form? get_registration_form(Jid jid) { XmppStream stream = new XmppStream(); + stream.log = new XmppLog(jid.to_string(), Application.print_xmpp); stream.add_module(new Tls.Module()); stream.add_module(new Iq.Module()); stream.add_module(new Xep.SrvRecordsTls.Module()); -- cgit v1.2.3-54-g00ecf