diff options
| author | kousu <nick@kousu.ca> | 2026-02-22 17:17:22 -0500 |
|---|---|---|
| committer | fiaxh <fiaxh@users.noreply.github.com> | 2026-03-27 19:41:58 +0100 |
| commit | fe2cfd1f24cfbc65362e5094f3aeab0c6279145c (patch) | |
| tree | 4b07a9bf696b5ecfc33650f3cdeb750cb7a77dbf /main/src/ui/call_window/call_bottom_bar.vala | |
| parent | 0b92ee2a113ca8da2d3a4d4b06056f291738b5fe (diff) | |
muc: only do disco on succesfully entering a room
Sending a disco#info <iq> on being banned from a room is wasteful, and
when _creating_ a room dino asks too soon, receives an error, and gives
up on syncing the room metadata giving subtle, hair-tearing inconsistencies
because flag.has_room_features() returns false for everything.
It's barely noticeable, because if you're banned from a room you
can't query it anyway (though in that case it's still a wasted <iq>),
and if you're creating the room all its fields are empty by default.
I noticed this because I'm experimenting with https://modules.prosody.im/mod_muc_defaults;
dino incorrectly shows moderation off when it should be on in newly
created rooms.
Diffstat (limited to 'main/src/ui/call_window/call_bottom_bar.vala')
0 files changed, 0 insertions, 0 deletions
