update user link path

This commit is contained in:
Ajay Bura 2024-07-30 13:50:18 +05:30 committed by GitHub
parent 9750d5e245
commit 0123ab4988
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -53,7 +53,7 @@ export class Cinny {
switch (link.kind) { switch (link.kind) {
case LinkKind.User: case LinkKind.User:
fragmentPath = `direct/${encodeURIComponent(link.identifier)}`; fragmentPath = `direct/create?userId${encodeURIComponent(link.identifier)}`;
break; break;
case LinkKind.Room: case LinkKind.Room:
fragmentPath = `home/${encodeURIComponent(link.identifier)}`; fragmentPath = `home/${encodeURIComponent(link.identifier)}`;