mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
4344ee2a5a
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. |
||
---|---|---|
apidocs | ||
docs | ||
icons | ||
src | ||
tests | ||
themes | ||
.gitignore | ||
.travis.yml | ||
bootstrap.sh | ||
CHANGELOG | ||
configure-debug | ||
configure-plugins | ||
configure.ac | ||
COPYING | ||
Dockerfile | ||
LICENSE.txt | ||
Makefile.am | ||
prof.supp | ||
profanity.spec | ||
profrc.example | ||
README.md | ||
RELEASE_GUIDE.md | ||
theme_template | ||
travis-build.sh |
Profanity
Profanity is a console based XMPP client inspired by Irssi,
See the User Guide for information on installing and using Profanity.
Links
Homepage: https://profanity-im.github.io/
Mailing List: https://groups.google.com/forum/#!forum/profanitydev
MUC: profanity@rooms.dismail.de
Plugins repository: https://github.com/profanity-im/profanity-plugins