diff --git a/src/api/posts.ts b/src/api/posts.ts index 5e18cd7..ac9b2d9 100644 --- a/src/api/posts.ts +++ b/src/api/posts.ts @@ -160,6 +160,7 @@ export interface PostData { in_reply_to_id: string | null; visibility: string; mentions: string[]; + links: string[]; attachments: Attachment[]; } @@ -175,6 +176,7 @@ export async function createPost( in_reply_to_id: postData.in_reply_to_id, visibility: postData.visibility, mentions: postData.mentions, + links: postData.links, } const response = await http(url, { method: "POST", diff --git a/src/assets/tabler/quote.svg b/src/assets/tabler/quote.svg new file mode 100644 index 0000000..0124f3a --- /dev/null +++ b/src/assets/tabler/quote.svg @@ -0,0 +1,2 @@ + + diff --git a/src/components/Post.vue b/src/components/Post.vue index 7ab4aa1..8c3ddf4 100644 --- a/src/components/Post.vue +++ b/src/components/Post.vue @@ -65,6 +65,20 @@ {{ attachment.url }} + +
+ + + @{{ getActorAddress(post.quote.account) }} + +
+
+
+
+