From 35e35c0998f4972b2426b13c6f4249bec9a83244 Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Tue, 26 Sep 2023 00:03:19 +0200 Subject: [PATCH] [mastodon-client] Update FIXMEs --- packages/backend/src/server/api/mastodon/helpers/user.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/backend/src/server/api/mastodon/helpers/user.ts b/packages/backend/src/server/api/mastodon/helpers/user.ts index 0953701af..564a9d3a0 100644 --- a/packages/backend/src/server/api/mastodon/helpers/user.ts +++ b/packages/backend/src/server/api/mastodon/helpers/user.ts @@ -53,7 +53,9 @@ export class UserHelpers { query .leftJoinAndSelect("note.renote", "renote"); - //FIXME this doesn't exclude replies to your own reply to someone else's post + //this doesn't exclude replies to your own reply to someone else's post + //this also breaks when checking your own profile + //FIXME write new the replies query generator specific to the mastodon client api generateRepliesQuery(query, !excludeReplies, localUser); generateVisibilityQuery(query, localUser); if (localUser) {