Add checkbox for user agreement

This commit is contained in:
N-Pex 2025-03-20 16:14:49 +01:00
parent 320c076d11
commit 7c0645a65e
5 changed files with 70 additions and 60 deletions

View file

@ -138,7 +138,7 @@ router.beforeEach((to, from, next) => {
}
const roomId = util.sanitizeRoomId(to.params.roomId);
router.app.$matrix.setCurrentRoomId(roomId);
if (roomId && roomId.startsWith('#')) {
if (roomId) {
//Invite to public room
authRequired = false;
}