Don't redirect to login page if we have no account

This commit is contained in:
N Pex 2023-01-05 09:23:29 +00:00
parent b6ee49e5f9
commit e7d01801e3

View file

@ -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) {