merge: Comply with type for Packed<'Note'> (fixes aria client compatibility) (!771)

View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/771

Approved-by: dakkar <dakkar@thenautilus.net>
This commit is contained in:
dakkar 2024-11-22 23:57:22 +00:00
commit b4a278ae54

View file

@ -162,8 +162,8 @@ export class NoteEntityService implements OnModuleInit {
packedNote.reactionAcceptance = null; packedNote.reactionAcceptance = null;
packedNote.reactionAndUserPairCache = undefined; packedNote.reactionAndUserPairCache = undefined;
packedNote.reactionCount = 0; packedNote.reactionCount = 0;
packedNote.reactionEmojis = undefined; packedNote.reactionEmojis = {};
packedNote.reactions = undefined; packedNote.reactions = {};
packedNote.isHidden = true; packedNote.isHidden = true;
} }
} }