Use ProcessAtUri function where applicable

This commit is contained in:
Ariadna 2025-04-21 00:36:16 -04:00 committed by Astra
parent cb4189ee51
commit 1e04628fdf
Signed by: astra
SSH key fingerprint: SHA256:jQDNS75/33T59Ey4yAzrUPP/5YQaXEetsW8hwUae+ag

View file

@ -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;