diff options
author | Michael Vetter <jubalh@iodoru.org> | 2019-06-04 16:02:56 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2019-06-04 16:19:04 +0200 |
commit | b210fb3603c4b52d478dd81810c6b4c38210bfd6 (patch) | |
tree | 2bd0abfe33281743d0f5b8d0c8f8186ad58d8d24 /tests/unittests/test_cmd_rooms.c | |
parent | 2d00444702661d7f5b989b2a7556aafeab4309fd (diff) | |
download | profani-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 'tests/unittests/test_cmd_rooms.c')
0 files changed, 0 insertions, 0 deletions