gajim, but with plural-affirmative aliases to the /me command
Go to file
Philipp Hörist cdc2ec9205 Fix not requesting roster on empty cache.db
The purpose of

`if version and not gajim.contacts.get_contacts_jid_list()`

seemed to be that when cache.db is empty (maybe it was deleted)
`gajim.contacts.get_contacts_jid_list()` should come back empty.

So on an empty roster cache, version was set to None, so that we
request in any case a new roster.

The Problem is that `gajim.contacts.get_contacts_jid_list()` is not
a good indication for an empty cache.db. On start we trigger a
`RosterReceivedEvent` which does a DB query to get the roster. Even
if that DB query comes up empty, the Event is still pushed.

In the event handler `_nec_roster_received` in roster_window.py we
add then previously open controls and our self (if the option is set)
to the roster, making `gajim.contacts.get_contacts_jid_list()` return
these contacts and hence the condition in `request_roster()` always
False.

So the version is set in the roster request, and if there is no new
version on the server, we request no new roster even though we only
have ourself and previously open controls in our roster.

As a solution for this we delete the roster version from the config
in `RosterReceivedEvent` if the DB query comes back empty, which
triggers a new roster request.
2017-07-19 10:52:02 +02:00
data Fix not working ManagePEPServicesWindow Dialog 2017-07-16 22:49:34 +02:00
debian prepare 0.16.5 release 2015-12-28 13:45:43 +01:00
doc Replace src by gajim 2017-07-02 17:25:46 +02:00
gajim Fix not requesting roster on empty cache.db 2017-07-19 10:52:02 +02:00
icons Show encryption icon in chat 2017-06-11 20:06:34 +02:00
m4 get git version when running configure 2016-12-30 00:54:33 +01:00
plugins Replace src by gajim 2017-07-02 17:25:46 +02:00
po update po files 2017-01-14 14:02:54 +00:00
scripts Replace src by gajim 2017-07-02 17:25:46 +02:00
test Replace src by gajim 2017-07-02 17:25:46 +02:00
win Update windows build to include emoticons 2017-07-02 21:30:21 +02:00
.gitignore Switch to using MSYS2 for Windows build 2017-05-16 16:39:52 +02:00
AUTHORS Fix Author list 2016-12-14 13:40:44 +01:00
COPYING
ChangeLog default branch is 0.16.10 2016-10-11 23:15:15 +02:00
INSTALL
Makefile.am Replace src by gajim 2017-07-02 17:25:46 +02:00
NEWS
README update dep list 2017-06-14 21:39:12 +02:00
README.md Update README.md 2017-07-03 00:36:58 +02:00
THANKS prepare 0.16.5 release 2015-12-28 13:45:43 +01:00
THANKS.artists [Dmitry Korzhevin] new tango emoticon set. Fixes #5421 2009-11-20 13:49:56 +01:00
appveyor.yml Clone correct project for windows build 2017-05-20 10:25:51 +02:00
autogen.sh Replace src by gajim 2017-07-02 17:25:46 +02:00
configure.ac Replace src by gajim 2017-07-02 17:25:46 +02:00
launch.sh Replace src by gajim 2017-07-02 17:25:46 +02:00
pylintrc pylint: Tweak the configuration file a bit. 2017-02-07 21:00:43 +00:00

README.md

Welcome to the Gajim project Wiki

The goal of Gajim is to provide a full featured and easy to use Jabber/XMPP client. Gajim works nicely with GNOME, but does not require it to run. It is released under the GNU General Public License. If you find bugs or have ideas how Gajim can be better, please send tickets here.