Closed Gnuxie closed 2 months ago
The current work is great, but we probably need to treat the ProtectRoomsOnInviteProtection
as an entrypoint for something else.
This entry point would just accept the invitation, we'd need to defer to something else to decide whether to prompt to protect the room or watch a list, since we don't have access to the room state until we join the room. We probably need to still ask to protect the room when it is a list.
joinOnInviteListener
to common code that checks whether an invitation is authorized for the purpose of protecting or watching a list.config.protectAllJoinedRooms
should disable the protect rooms protection and explain why when it does that.Consider undoing all the above if we are kicked or leave.
Tied to https://github.com/the-draupnir-project/planning/issues/15