diff options
author | Marvin W <git@larma.de> | 2017-03-15 17:23:13 +0100 |
---|---|---|
committer | Marvin W <git@larma.de> | 2017-03-15 17:23:13 +0100 |
commit | 5038db063ec3981385dd68a3069e8edd0b52075d (patch) | |
tree | 0c2309518a8e20dd47c00126fe6da70eb2041f93 /plugins/omemo/src/plugin.vala | |
parent | 27afc2164f31f40e79606c72005277d730c1f005 (diff) | |
download | dino-5038db063ec3981385dd68a3069e8edd0b52075d.tar.gz dino-5038db063ec3981385dd68a3069e8edd0b52075d.zip |
omemo plugin: improve session bootstrapping
Diffstat (limited to 'plugins/omemo/src/plugin.vala')
-rw-r--r-- | plugins/omemo/src/plugin.vala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/omemo/src/plugin.vala b/plugins/omemo/src/plugin.vala index d3fee15d..f98b03d9 100644 --- a/plugins/omemo/src/plugin.vala +++ b/plugins/omemo/src/plugin.vala @@ -1,6 +1,7 @@ namespace Dino.Plugins.Omemo { public class Plugin : RootInterface, Object { + public const bool DEBUG = false; public static Signal.Context context; public Dino.Application app; @@ -15,7 +16,7 @@ public class Plugin : RootInterface, Object { } try { - context = new Signal.Context(false); + context = new Signal.Context(DEBUG); this.app = app; this.db = new Database(Path.build_filename(Application.get_storage_dir(), "omemo.db")); this.list_entry = new EncryptionListEntry(this); |