about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2019-07-04 10:38:24 +0200
committerMichael Vetter <jubalh@iodoru.org>2019-07-04 10:38:24 +0200
commitd0047c8376f661505e456db64e998a48328f00a5 (patch)
treefd66562e6c2c7bc94370a690787f07e3987f312a /src
parent199162b11afe0e5275f62c65fc82a5bbcc6c9552 (diff)
downloadprofani-tty-d0047c8376f661505e456db64e998a48328f00a5.tar.gz
Dont initialize omemo autocompleter twice
We already do this in omemo_init() no need to do it again in
omemo_on_connect().
Diffstat (limited to 'src')
-rw-r--r--src/omemo/omemo.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/omemo/omemo.c b/src/omemo/omemo.c
index c813dcf0..e62aa795 100644
--- a/src/omemo/omemo.c
+++ b/src/omemo/omemo.c
@@ -226,8 +226,6 @@ omemo_on_connect(ProfAccount *account)
     omemo_ctx.device_list_handler = g_hash_table_new_full(g_str_hash, g_str_equal, free, NULL);
     omemo_ctx.known_devices = g_hash_table_new_full(g_str_hash, g_str_equal, free, (GDestroyNotify)_g_hash_table_free);
 
-    omemo_ctx.fingerprint_ac = autocomplete_new();
-
     char *omemodir = files_get_data_path(DIR_OMEMO);
     GString *basedir = g_string_new(omemodir);
     free(omemodir);