Prefer matrix.to alias links over room id in spaces & share
This commit is contained in:
parent
e7cfa4816e
commit
e252c5553e
2 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@ const SpacePublicShare = ({ space, onFinished }: IProps) => {
|
|||
onClick={async () => {
|
||||
const permalinkCreator = new RoomPermalinkCreator(space);
|
||||
permalinkCreator.load();
|
||||
const success = await copyPlaintext(permalinkCreator.forRoom());
|
||||
const success = await copyPlaintext(permalinkCreator.forShareableRoom());
|
||||
const text = success ? _t("Copied!") : _t("Failed to copy");
|
||||
setCopiedText(text);
|
||||
await sleep(5000);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue