diff --git a/src/lib/pdsfetch.ts b/src/lib/pdsfetch.ts index 2296e94..0dec969 100644 --- a/src/lib/pdsfetch.ts +++ b/src/lib/pdsfetch.ts @@ -48,7 +48,7 @@ class Post { account: AccountMetadata, ) { this.postCid = record.cid; - this.recordName = record.uri.split("/").slice(-1)[0]; + this.recordName = processAtUri(record.uri).rkey; this.authorDid = account.did; this.authorAvatarCid = account.avatarCid; this.authorHandle = account.handle;