Merge branch 'develop' of git.joinfirefish.org:firefish/firefish into develop

This commit is contained in:
ThatOneCalculator 2023-08-01 17:50:03 -07:00
commit 5166e7c38e
No known key found for this signature in database
GPG key ID: 8703CACD01000000

View file

@ -27,6 +27,8 @@ export function apiStatusMastodon(router: Router): void {
let body: any = ctx.request.body; let body: any = ctx.request.body;
if (body.in_reply_to_id) if (body.in_reply_to_id)
body.in_reply_to_id = convertId(body.in_reply_to_id, IdType.FirefishId); body.in_reply_to_id = convertId(body.in_reply_to_id, IdType.FirefishId);
if (body.quote_id)
body.quote_id = convertId(body.quote_id, IdType.FirefishId);
if ( if (
(!body.poll && body["poll[options][]"]) || (!body.poll && body["poll[options][]"]) ||
(!body.media_ids && body["media_ids[]"]) (!body.media_ids && body["media_ids[]"])