diff options
author | Michael Vetter <jubalh@iodoru.org> | 2019-07-04 10:38:24 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2019-07-04 10:38:24 +0200 |
commit | d0047c8376f661505e456db64e998a48328f00a5 (patch) | |
tree | fd66562e6c2c7bc94370a690787f07e3987f312a /src | |
parent | 199162b11afe0e5275f62c65fc82a5bbcc6c9552 (diff) | |
download | profani-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.c | 2 |
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); |