From 9165c4db278b2d3da636d53e89c3b80cff66977f Mon Sep 17 00:00:00 2001 From: fiaxh Date: Wed, 22 Nov 2017 20:06:50 +0100 Subject: Async service lookup, connect and write --- libdino/src/application.vala | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libdino/src') diff --git a/libdino/src/application.vala b/libdino/src/application.vala index ff0827f8..55913a99 100644 --- a/libdino/src/application.vala +++ b/libdino/src/application.vala @@ -40,7 +40,10 @@ public interface Dino.Application : GLib.Application { activate.connect(() => { stream_interactor.connection_manager.log_options = print_xmpp; - restore(); + Idle.add(() => { + restore(); + return false; + }); }); shutdown.connect(() => { stream_interactor.connection_manager.make_offline_all(); -- cgit v1.2.3-70-g09d2