@@ -84,7 +84,7 @@ export class ChannelEntityService {
|
||||
} : {}),
|
||||
|
||||
...(detailed ? {
|
||||
pinnedNotes: await this.noteEntityService.packMany(pinnedNotes, me),
|
||||
pinnedNotes: (await this.noteEntityService.packMany(pinnedNotes, me)).sort((a, b) => channel.pinnedNoteIds.indexOf(a.id) - channel.pinnedNoteIds.indexOf(b.id)),
|
||||
} : {}),
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user