From d3e23ff0300f94a1ff406099505e669e2088630f Mon Sep 17 00:00:00 2001 From: DebXWoody Date: Sat, 23 May 2020 07:05:39 +0200 Subject: Bugfix: Status with PGP shows offline in titlebar There is code to redraw the ui, because the user may enter a passphase for the private key. There was also a ui_init, which shouldn't be called, because it will set the status to the initial state, which is 'offline' and 'no tls'. Issue: #1327 --- src/event/server_events.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/event') diff --git a/src/event/server_events.c b/src/event/server_events.c index c1f7b90e..21eac532 100644 --- a/src/event/server_events.c +++ b/src/event/server_events.c @@ -147,13 +147,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(); } -- cgit 1.4.1-2-gfad0