Skip to content

fix: synchronization of muc participants list

Dexter Gaon-Shatford requested to merge dexgs/gajim:master into master

This commit addresses two issues.

First, as reported in issue #10944 (closed), while the hidden/shown state of the participants list is synchronized across all group chat pages, the icon on the toggle button is not, causing it to show an arrow pointing in the wrong direction when the toggle participants list button is clicked in one muc and then another is viewed. This commit attaches an additional callback to the hide_groupchat_occupants_list settings signal in order to properly synchronize the icon on the button.

Second, when multiple MUCs are joined simultaneously (e.g. when Gajim is first opened) the participants list will sometimes close/open entirely on its own. This is a consequence of it now being synchronized in combination with the call to _show_roster when the MUC is successfully joined. Removing this call resolves the problem.

Merge request reports