From b5d5a05a1edb701fb6cf6ed471e4ab5d532c0f5e Mon Sep 17 00:00:00 2001 From: Samuel Hand Date: Thu, 9 Aug 2018 15:19:02 +0100 Subject: Indentation fixes --- plugins/omemo/src/own_notifications.vala | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/omemo/src') diff --git a/plugins/omemo/src/own_notifications.vala b/plugins/omemo/src/own_notifications.vala index df0c4740..e1095c68 100644 --- a/plugins/omemo/src/own_notifications.vala +++ b/plugins/omemo/src/own_notifications.vala @@ -15,14 +15,14 @@ public class OwnNotifications { this.plugin = plugin; this.account = account; stream_interactor.module_manager.get_module(account, StreamModule.IDENTITY).bundle_fetched.connect_after((jid, device_id, bundle) => { - if (jid.equals(account.bare_jid) && has_new_devices(account.bare_jid)) { - display_notification(); - } - }); + if (jid.equals(account.bare_jid) && has_new_devices(account.bare_jid)) { + display_notification(); + } + }); + if (has_new_devices(account.bare_jid)) { display_notification(); } - } public bool has_new_devices(Jid jid) { -- cgit v1.2.3-54-g00ecf