fix streaming API notes missing reactions, not always being hidden, and having incorrect values for the isRenoted, isFavorited, isMutingThread, and isMutingNote properties
This commit is contained in:
parent
8cbe1344f6
commit
4c2a0fed63
12 changed files with 227 additions and 76 deletions
|
|
@ -601,6 +601,7 @@ export class ClientServerService {
|
|||
relations: ['user'],
|
||||
});
|
||||
|
||||
// TODO pack with current user, or the frontend can get bad data
|
||||
if (note && !note.user!.requireSigninToViewContents) {
|
||||
const _note = await this.noteEntityService.pack(note);
|
||||
const profile = await this.userProfilesRepository.findOneByOrFail({ userId: note.userId });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue