aboutsummaryrefslogtreecommitdiff
path: root/libdino/src/application.vala
diff options
context:
space:
mode:
authorfiaxh <git@mx.ax.lt>2018-11-16 16:27:31 +0100
committerfiaxh <git@mx.ax.lt>2018-11-16 09:29:34 -0600
commitfa731a46235e7d6b46450f339539247d3671514b (patch)
treee0a41471479bc00a15ac1fefc029e5e71b616c68 /libdino/src/application.vala
parent45236d07bca544f44c0861d0df50c4b40e55a6dd (diff)
downloaddino-fa731a46235e7d6b46450f339539247d3671514b.tar.gz
dino-fa731a46235e7d6b46450f339539247d3671514b.zip
Split login jid/password into two steps with checks
Diffstat (limited to 'libdino/src/application.vala')
-rw-r--r--libdino/src/application.vala5
1 files changed, 3 insertions, 2 deletions
diff --git a/libdino/src/application.vala b/libdino/src/application.vala
index d307c746..7b19a9e9 100644
--- a/libdino/src/application.vala
+++ b/libdino/src/application.vala
@@ -40,6 +40,7 @@ public interface Dino.Application : GLib.Application {
ContentItemStore.start(stream_interactor, db);
NotificationEvents.start(stream_interactor);
SearchProcessor.start(stream_interactor, db);
+ Register.start(stream_interactor, db);
create_actions();
@@ -110,11 +111,11 @@ public interface Dino.Application : GLib.Application {
}
protected void add_connection(Account account) {
- stream_interactor.connect(account);
+ stream_interactor.connect_account(account);
}
protected void remove_connection(Account account) {
- stream_interactor.disconnect(account);
+ stream_interactor.disconnect_account(account);
}
private void restore() {