handle groupchat presence in roster after it's fully treated. Fixes #6047

This commit is contained in:
Yann Leboulanger 2010-11-24 09:38:29 +01:00
parent c104199f6c
commit 7c4c54d516
1 changed files with 3 additions and 1 deletions

View File

@ -6231,7 +6231,9 @@ class RosterWindow:
gajim.ged.register_event_handler('presence-received', ged.GUI1, gajim.ged.register_event_handler('presence-received', ged.GUI1,
self._nec_presence_received) self._nec_presence_received)
gajim.ged.register_event_handler('gc-presence-received', ged.GUI1, # presence has to be fully handled so that contact is added to occupant
# list before roster can be correctly updated
gajim.ged.register_event_handler('gc-presence-received', ged.GUI2,
self._nec_gc_presence_received) self._nec_gc_presence_received)
gajim.ged.register_event_handler('roster-received', ged.GUI1, gajim.ged.register_event_handler('roster-received', ged.GUI1,
self._nec_roster_received) self._nec_roster_received)