aboutsummaryrefslogtreecommitdiff
path: root/libdino/src/service
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2019-10-18 14:55:57 +0200
committerMarvin W <git@larma.de>2019-10-18 15:03:09 +0200
commitfcec78ce27b23ba06b3e9439e04ddff7ee64f806 (patch)
treea023bba348ecfc68a7d42d1e43c9d6a4b19fa7cf /libdino/src/service
parent2da8fd688137a6bb847f9f003f18996833465cf3 (diff)
downloaddino-fcec78ce27b23ba06b3e9439e04ddff7ee64f806.tar.gz
dino-fcec78ce27b23ba06b3e9439e04ddff7ee64f806.zip
Use log during IBR
Diffstat (limited to 'libdino/src/service')
-rw-r--r--libdino/src/service/registration.vala2
1 files changed, 2 insertions, 0 deletions
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());