# HG changeset patch # User Goffi # Date 1563131987 -7200 # Node ID ba9aaf7d6cd0f9449026e62007f79e1dc08a8e0c # Parent 595b8857538b2ee4a83a2a927207db9dd9abd40f quick frontends (app): setSpecial is now called before getOrCreateWidget in mucRoomJoinedHandler: this avoid a issue in Primitivus where the contact list selection is done before the room is actually added to the contact list. diff -r 595b8857538b -r ba9aaf7d6cd0 sat_frontends/quick_frontend/quick_app.py --- a/sat_frontends/quick_frontend/quick_app.py Sun Jul 14 20:42:14 2019 +0200 +++ b/sat_frontends/quick_frontend/quick_app.py Sun Jul 14 21:19:47 2019 +0200 @@ -862,6 +862,7 @@ ) ) room_jid = jid.JID(room_jid_s) + self.contact_lists[profile].setSpecial(room_jid, C.CONTACT_SPECIAL_GROUP) self.widgets.getOrCreateWidget( quick_chat.QuickChat, room_jid, @@ -871,8 +872,6 @@ subject=subject, profile=profile, ) - self.contact_lists[profile].setSpecial(room_jid, C.CONTACT_SPECIAL_GROUP) - # chat_widget.update() def mucRoomLeftHandler(self, room_jid_s, profile): """Called when a MUC room is left"""