aboutsummaryrefslogtreecommitdiff
path: root/plugins/omemo/src
diff options
context:
space:
mode:
authorSamuel Hand <samuel.hand@openmailbox.org>2018-08-09 15:19:02 +0100
committerSamuel Hand <samuel.hand@openmailbox.org>2018-08-09 15:19:02 +0100
commitb5d5a05a1edb701fb6cf6ed471e4ab5d532c0f5e (patch)
tree8800c8a541789bc842df05ffedcad78add8e5fbb /plugins/omemo/src
parenteb43c4a35deaf20857ab65f5116c37cdebe1eae7 (diff)
downloaddino-b5d5a05a1edb701fb6cf6ed471e4ab5d532c0f5e.tar.gz
dino-b5d5a05a1edb701fb6cf6ed471e4ab5d532c0f5e.zip
Indentation fixes
Diffstat (limited to 'plugins/omemo/src')
-rw-r--r--plugins/omemo/src/own_notifications.vala10
1 files changed, 5 insertions, 5 deletions
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) {