about summary refs log tree commit diff stats
path: root/src/event/common.c
Commit message (Collapse)AuthorAgeFilesLines
* db: move includesMichael Vetter2020-04-061-1/+1
|
* db: Have one database per accountMichael Vetter2020-04-061-0/+2
|
* Update my Copyright to 2020Michael Vetter2020-01-031-1/+1
|
* Add vim modelineMichael Vetter2019-11-131-0/+1
|
* Show MUC history on intentional reconnectMichael Vetter2019-07-031-0/+31
| | | | | Small bug caused by 13675fb and ce5a4ed. Fix https://github.com/profanity-im/profanity/issues/1142
* Cancel autoping timer on disconnect or connection lossDmitry Podgorny2019-06-031-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 Vetter2019-05-271-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 cleanupMichael Vetter2019-05-191-0/+68
Duplicate code in client_events.c and server_events.c. Let's have events/common.c and a function containing that code.