aboutsummaryrefslogtreecommitdiff
path: root/libdino/src
diff options
context:
space:
mode:
Diffstat (limited to 'libdino/src')
-rw-r--r--libdino/src/application.vala5
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();