aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/manage_accounts
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2019-08-27 22:12:18 +0200
committerfiaxh <git@lightrise.org>2019-08-28 13:11:56 +0200
commite52a4eacb2a3410a80156a50c267b5ac4b6d49ae (patch)
tree66b8e13ee9ec00aff7685a8059add23ee9066688 /main/src/ui/manage_accounts
parentd02f7b6a3ace7c9248db15996e7a6d50a22d2582 (diff)
downloaddino-e52a4eacb2a3410a80156a50c267b5ac4b6d49ae.tar.gz
dino-e52a4eacb2a3410a80156a50c267b5ac4b6d49ae.zip
Don't show conversations from account after it was disabled
fixes #277
Diffstat (limited to 'main/src/ui/manage_accounts')
-rw-r--r--main/src/ui/manage_accounts/dialog.vala1
1 files changed, 0 insertions, 1 deletions
diff --git a/main/src/ui/manage_accounts/dialog.vala b/main/src/ui/manage_accounts/dialog.vala
index bb0614a2..e605e083 100644
--- a/main/src/ui/manage_accounts/dialog.vala
+++ b/main/src/ui/manage_accounts/dialog.vala
@@ -173,7 +173,6 @@ public class Dialog : Gtk.Dialog {
private bool change_account_state(bool state) {
selected_account.enabled = state;
if (state) {
- if (selected_account.enabled) account_disabled(selected_account);
account_enabled(selected_account);
} else {
account_disabled(selected_account);