diff options
author | fiaxh <git@mx.ax.lt> | 2017-11-22 20:06:50 +0100 |
---|---|---|
committer | fiaxh <git@mx.ax.lt> | 2017-11-23 01:28:29 +0100 |
commit | 9165c4db278b2d3da636d53e89c3b80cff66977f (patch) | |
tree | 84f227a12389ec2b3c3c7a578f913bc763760b53 /libdino/src/application.vala | |
parent | de133218dab0ac1729dbfc32177979133c15f53b (diff) | |
download | dino-9165c4db278b2d3da636d53e89c3b80cff66977f.tar.gz dino-9165c4db278b2d3da636d53e89c3b80cff66977f.zip |
Async service lookup, connect and write
Diffstat (limited to 'libdino/src/application.vala')
-rw-r--r-- | libdino/src/application.vala | 5 |
1 files changed, 4 insertions, 1 deletions
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(); |