From e7d01801e3da124145cb9fa593bcf10bfd30c756 Mon Sep 17 00:00:00 2001 From: N Pex Date: Thu, 5 Jan 2023 09:23:29 +0000 Subject: [PATCH] Don't redirect to login page if we have no account --- src/router/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/router/index.js b/src/router/index.js index ca115f5..1599551 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -122,6 +122,7 @@ router.beforeEach((to, from, next) => { if (to.params.userId) { const roomId = util.sanitizeUserId(to.params.userId); router.app.$matrix.setCurrentRoomId(roomId); + authRequired = false; } } else if (to.name == 'Invite') { if (to.params.roomId) {