From d0047c8376f661505e456db64e998a48328f00a5 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Thu, 4 Jul 2019 10:38:24 +0200 Subject: Dont initialize omemo autocompleter twice We already do this in omemo_init() no need to do it again in omemo_on_connect(). --- src/omemo/omemo.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') 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); -- cgit 1.4.1-2-gfad0