[MastoAPI] Quoting posts #515

Closed
opened 2024-02-13 13:55:34 +01:00 by CookiLover311 · 1 comment
Contributor

I was looking into implementing quote posting for IceShrimp in Megalodon, but I was unable to find a way to do this using the Mastodon API. When looking into the code of IceShrimp, I failed to find any implementation of doing this, so either I'm missing something or it's not actually implemented

The way this works in some other implementations, i.e. in Akkoma, is by the client setting the quote_id field to the ID of the post the user wants to quote, and the server then correctly correlates these posts

NOTE: Megalodon currently only uses this API when it detects that the user is logged in to an Akkoma instance, otherwise it just links the quoted post. I am willing to make a pull request for Megalodon to change this behavior to work well with whatever implementation IceShrimp uses

I was looking into implementing quote posting for IceShrimp in Megalodon, but I was unable to find a way to do this using the Mastodon API. When looking into the code of IceShrimp, I failed to find any implementation of doing this, so either I'm missing something or it's not actually implemented The way this works in some other implementations, i.e. in Akkoma, is by the client setting the `quote_id` field to the ID of the post the user wants to quote, and the server then correctly correlates these posts NOTE: Megalodon currently only uses this API when it detects that the user is logged in to an Akkoma instance, otherwise it just links the quoted post. I am willing to make a pull request for Megalodon to change this behavior to work well with whatever implementation IceShrimp uses
zotan added the
enhancement
label 2024-02-13 16:47:50 +01:00
zotan self-assigned this 2024-02-13 16:47:59 +01:00
Owner

Support added. Thank you!

Support added. Thank you!
zotan closed this issue 2024-02-13 16:51:22 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: iceshrimp/iceshrimp#515
No description provided.