diff options
author | DebXWoody <stefan@debxwoody.de> | 2020-05-23 07:05:39 +0200 |
---|---|---|
committer | DebXWoody <stefan@debxwoody.de> | 2020-05-23 07:09:08 +0200 |
commit | d3e23ff0300f94a1ff406099505e669e2088630f (patch) | |
tree | 47d567d5dff735f910385aec8c128c1ee1d64783 /src/event | |
parent | 86f0e0ea7033a27a83a5c24091ae1fd5b579296d (diff) | |
download | profani-tty-d3e23ff0300f94a1ff406099505e669e2088630f.tar.gz |
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
Diffstat (limited to 'src/event')
-rw-r--r-- | src/event/server_events.c | 3 |
1 files changed, 1 insertions, 2 deletions
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(); } |