Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Cancel autoping timer on disconnect or connection loss | Dmitry Podgorny | 2019-06-03 | 1 | -0/+1 |
| | | | | | | | | | If Profanity is disconnected in any way before ping response is received, the autoping timer will expire after the next connection is established. As result, user will be disconnected immediately. Cancel autoping timer in ev_disconnect_cleanup(), so it is done for all kind of disconnections. | ||||
* | Close windows on connection loss not general disc. | Michael Vetter | 2019-05-27 | 1 | -1/+0 |
| | | | | | | | | | | Call `ui_close_all_wins();` only if we disconnect on purpose not when connection is lost. Otherwise users might miss messages. This partly reverts 6ac73db876c83c7068c4795b19c09ea59eb18a40. Regards https://github.com/profanity-im/profanity/issues/1083 | ||||
* | Create seperate function for disconnect cleanup | Michael Vetter | 2019-05-19 | 1 | -0/+68 |
Duplicate code in client_events.c and server_events.c. Let's have events/common.c and a function containing that code. |