Add thread share button

This commit is contained in:
Jon Staab
2024-10-23 16:41:11 -07:00
parent 306a0f0f3d
commit e327bebe12
7 changed files with 143 additions and 47 deletions
+3
View File
@@ -13,6 +13,9 @@ export const makeSpacePath = (url: string, extra = "") => {
export const makeChatPath = (pubkeys: string[]) => `/chat/${makeChatId(pubkeys)}`
export const makeRoomPath = (url: string, room: string) =>
`/spaces/${encodeRelay(url)}/${room}`
export const makeThreadPath = (url: string, eventId: string) =>
`/spaces/${encodeRelay(url)}/threads/${eventId}`