diff --git a/packages/megalodon/src/misskey.ts b/packages/megalodon/src/misskey.ts index 0d513651b..f9858214d 100644 --- a/packages/megalodon/src/misskey.ts +++ b/packages/megalodon/src/misskey.ts @@ -1189,10 +1189,15 @@ export default class Misskey implements MegalodonInterface { } public async getStatusFavouritedBy(_id: string): Promise>> { - return new Promise((_, reject) => { - const err = new NoImplementedError('misskey does not support') - reject(err) + return this.client.post>("/api/notes/reactions", { + noteId: _id, }) + .then(async (res) => ({ + ...res, + data: ( + await Promise.all(res.data.map((n) => this.getAccount(n.user.id))) + ).map((p) => p.data), + })); } /**