Merge branch '376-allow-creation-of-new-direct-chat-using-matrix-id' into 'dev'

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

See merge request keanuapp/keanuapp-weblite!125
This commit is contained in:
N Pex 2023-01-05 09:23:29 +00:00
commit 56ed0299f5

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