feat: status route using full account (#115)
This commit is contained in:
parent
b36a803eef
commit
4bb2910761
9 changed files with 104 additions and 81 deletions
|
@ -58,7 +58,11 @@ export function getAccountPath(account: Account) {
|
|||
}
|
||||
|
||||
export function getStatusPath(status: Status) {
|
||||
return `/status/${status.id}`
|
||||
return `/${getFullHandle(status.account)}/${status.id}`
|
||||
}
|
||||
|
||||
export function getStatusInReplyToPath(status: Status) {
|
||||
return `/status/${status.inReplyToId}`
|
||||
}
|
||||
|
||||
export function useAccountHandle(account: Account, fullServer = true) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue