Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Call message_handlers_clear() upon disconnect | Michael Vetter | 2019-06-20 | 1 | -0/+1 |
| | | | | Free pubsub_event_handlers. Fix memory leaks. | ||||
* | Call iq_handlers_clear() upon disconnect | Michael Vetter | 2019-06-20 | 1 | -0/+1 |
| | | | | Free id_handlers. Fix memory leaks. | ||||
* | Don't clear saved account data in session_disconnect() | Dmitry Podgorny | 2019-06-03 | 1 | -28/+7 |
| | | | | | | | | | | | | | | | | | | | | If connection loss occurs, it calls session_disconnect() eventually. This function clears saved account data which is required for reconnection. Therefore, when reconnect timer expires, we get errors: 02/06/2019 04:53:42: stderr: ERR: (profanity:17115): GLib-CRITICAL **: 04:53:42.305: g_key_file_has_group: assertion 'group_name != NULL' failed 02/06/2019 04:53:43: prof: ERR: Unable to reconnect, account no longer exists: (null) To solve it, don't clear the saved data in session_disconnect(). It will be cleared properly on connection loss if reconnect timer is not configured. But won't be cleared with /disconnect command. So, after /disconnect the data will live in memory until the next /connect. Also, remove some copy-paste in connection loss path. | ||||
* | Add random string at the end of the default resource | Paul Fariello | 2019-04-12 | 1 | -1/+3 |
| | | | | | | | | When connecting for the first time or when creating a new account don't use only 'profanity' as default resource. Some server don't support having 2 connection with same resource. Using profanity as default lead to deconnections. | ||||
* | Wait for discovery end to publish omemo devicelist and bundle | Paul Fariello | 2019-04-10 | 1 | -1/+1 |
| | | | | Add sv_ev_connection_features_received for that purpose | ||||
* | Ensure saved_account is set before calling sv_ev_login_account_success | Paul Fariello | 2019-04-10 | 1 | -1/+1 |
| | |||||
* | device_list iq should be from barejid or none | Paul Fariello | 2019-04-10 | 1 | -12/+6 |
| | | | | | | | Ensure we request device_list and remove non conforming handling of responses. Move initialisation of iq_handlers before call to sv_ev_login_account_success | ||||
* | Fix devicelist subscription and handle pubsub event | Paul Fariello | 2019-04-10 | 1 | -1/+1 |
| | | | | Devicelist subscription can be done directly with caps_add feature. | ||||
* | Add devicelist and bundle publication | Paul Fariello | 2019-04-10 | 1 | -1/+5 |
| | |||||
* | Add devicelist subscription | Paul Fariello | 2019-04-10 | 1 | -0/+7 |
| | |||||
* | Update copyright to include 2019 | Michael Vetter | 2019-01-22 | 1 | -1/+1 |
| | |||||
* | Clear rooms cache on disconnect | James Booth | 2018-02-05 | 1 | -0/+2 |
| | |||||
* | Update copyright | James Booth | 2018-01-21 | 1 | -1/+1 |
| | |||||
* | Update Copyright | James Booth | 2017-01-28 | 1 | -1/+1 |
| | |||||
* | Remove status from cl_ev_presence_send | James Booth | 2017-01-15 | 1 | -8/+14 |
| | | | | fixes #888 | ||||
* | Allow clearing account resource | James Booth | 2016-11-22 | 1 | -7/+20 |
| | | | | issue #880 | ||||
* | Handle NULL saved_status | James Booth | 2016-07-27 | 1 | -1/+5 |
| | |||||
* | Copy curr_status and free original in session.c | James Booth | 2016-07-27 | 1 | -1/+2 |
| | |||||
* | Free ProfAccount | James Booth | 2016-07-25 | 1 | -0/+1 |
| | |||||
* | Move autoaway check | James Booth | 2016-07-24 | 1 | -0/+141 |
| | |||||
* | Tidy headers | James Booth | 2016-07-24 | 1 | -5/+5 |
| | |||||
* | Move event timeout to connection module | James Booth | 2016-07-24 | 1 | -9/+2 |
| | |||||
* | Update GPL link in headers | James Booth | 2016-07-24 | 1 | -1/+1 |
| | |||||
* | Add connection_set_disconnected() | James Booth | 2016-05-11 | 1 | -8/+13 |
| | |||||
* | Add connection_clear_data() | James Booth | 2016-05-10 | 1 | -13/+7 |
| | |||||
* | Remove connection_free_conn(), connection_free_ctx() | James Booth | 2016-05-10 | 1 | -6/+6 |
| | |||||
* | Add connection_shutdown() | James Booth | 2016-05-10 | 1 | -4/+1 |
| | |||||
* | Remove JABBER_STARTED, JABBER_UNDEFINED connection states | James Booth | 2016-05-10 | 1 | -15/+4 |
| | |||||
* | Remove _session_free_session_data from session.c | James Booth | 2016-05-10 | 1 | -38/+42 |
| | |||||
* | Fixed compile | James Booth | 2016-05-08 | 1 | -1/+1 |
| | |||||
* | Tidy session.c | James Booth | 2016-05-08 | 1 | -3/+4 |
| | |||||
* | Free features on disconnect | James Booth | 2016-05-08 | 1 | -0/+1 |
| | |||||
* | Move conneciton initialisation to _connection_handler | James Booth | 2016-05-08 | 1 | -5/+0 |
| | |||||
* | Move xmpp_initialise() to conneciton.c | James Booth | 2016-05-07 | 1 | -1/+0 |
| | |||||
* | Move disco info struct to connection | James Booth | 2016-05-07 | 1 | -51/+2 |
| | |||||
* | Move available resources to connection struct | James Booth | 2016-05-07 | 1 | -21/+1 |
| | |||||
* | Remove redundant tls secured function | James Booth | 2016-05-06 | 1 | -1/+1 |
| | |||||
* | Tidy connect function | James Booth | 2016-05-06 | 1 | -3/+3 |
| | |||||
* | Move connection_connect | James Booth | 2016-05-06 | 1 | -36/+3 |
| | |||||
* | Move send stanza function | James Booth | 2016-05-06 | 1 | -11/+0 |
| | |||||
* | Move conn is secure function | James Booth | 2016-05-06 | 1 | -10/+0 |
| | |||||
* | Move tls peer cert function | James Booth | 2016-05-06 | 1 | -24/+0 |
| | |||||
* | Move uuid functions | James Booth | 2016-05-06 | 1 | -14/+0 |
| | |||||
* | Move connection fulljid function | James Booth | 2016-05-06 | 1 | -9/+3 |
| | |||||
* | Tidy session.c | James Booth | 2016-05-06 | 1 | -49/+52 |
| | |||||
* | Rename jabber_ functions | James Booth | 2016-05-06 | 1 | -63/+63 |
| | |||||
* | Add session.c | James Booth | 2016-05-05 | 1 | -339/+114 |
| | |||||
* | Renamed connection.c -> session.c | James Booth | 2016-05-05 | 1 | -0/+790 |