[Chat] Rename invite route to /chat/ (#10782)

This commit is contained in:
Samuel Newman
2026-06-08 19:26:23 +03:00
committed by GitHub
parent d9345cb1cf
commit c4f3a2cb89
7 changed files with 28 additions and 28 deletions
@@ -8,7 +8,7 @@ import {JoinRequestEmbedBody} from '#/components/Post/Embed/JoinRequestEmbed'
/**
* Renders a chat invite link found in an `app.bsky.embed.external` embed (e.g.
* a `bsky.app/c/<code>` link posted to the feed) as a join request card,
* a `bsky.app/chat/<code>` link posted to the feed) as a join request card,
* falling back to a plain external embed if the invite can't be resolved.
*/
export function ChatInviteEmbed({
+1 -1
View File
@@ -78,7 +78,7 @@ export function Root({
color: 'primary',
disabled: false,
onPress: () => {
void setStringAsync(`https://bsky.app/c/${preview.code}`)
void setStringAsync(`https://bsky.app/chat/${preview.code}`)
Toast.show(l`Copied to clipboard`, {type: 'success'})
},
}