about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2020-05-28 20:47:48 +0200
committerGitHub <noreply@github.com>2020-05-28 20:47:48 +0200
commit4c047b0cb5f1ca9b3f404a82e2ca031097d3994d (patch)
tree314236bb8eaeee0970a73f817b50eed5b552661a
parentceb5dcc0e589f441a6570a74fef1478b46a91f24 (diff)
parentd3e23ff0300f94a1ff406099505e669e2088630f (diff)
downloadprofani-tty-4c047b0cb5f1ca9b3f404a82e2ca031097d3994d.tar.gz
Merge pull request #1344 from DebXWoody/bugfix/1327
Bugfix: Status with PGP shows offline in titlebar
-rw-r--r--src/event/server_events.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/event/server_events.c b/src/event/server_events.c
index d082356f..7494dfd0 100644
--- a/src/event/server_events.c
+++ b/src/event/server_events.c
@@ -150,13 +150,12 @@ sv_ev_roster_received(void)
         }
         free(err_str);
 
-        // Redraw the screen after entry of the PGP secret key
+        // Redraw the screen after entry of the PGP secret key, but not init
         ProfWin *win = wins_get_current();
         char *theme = prefs_get_string(PREF_THEME);
         win_clear(win);
         theme_init(theme);
         prefs_free_string(theme);
-        ui_init();
         ui_resize();
         ui_show_roster();
     }