about summary refs log tree commit diff stats
path: root/src/ui/window_list.h
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2019-06-04 16:02:56 +0200
committerMichael Vetter <jubalh@iodoru.org>2019-06-04 16:19:04 +0200
commitb210fb3603c4b52d478dd81810c6b4c38210bfd6 (patch)
tree2bd0abfe33281743d0f5b8d0c8f8186ad58d8d24 /src/ui/window_list.h
parent2d00444702661d7f5b989b2a7556aafeab4309fd (diff)
downloadprofani-tty-b210fb3603c4b52d478dd81810c6b4c38210bfd6.tar.gz
statusbar: check if roster exists
We destory the roster in ev_disconnect_cleanup().
Adding a function to test if the roster has been destroyed and testing
for it in the statusbar.

So now when the connection is lost 'Lost connection' is printed in all
open windows.
We can then reconnect with `/connect accountname`.

Should fix https://github.com/profanity-im/profanity/issues/1083
Diffstat (limited to 'src/ui/window_list.h')
0 files changed, 0 insertions, 0 deletions