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 committed by n8fr8
parent 8d3ad1c27f
commit d318937348

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