mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-14 14:07:38 -07:00
ユーザー情報のhasUnreadChannelが常にfalseになってしまっているのを修正 (#7938)
This commit is contained in:
parent
5173c8c8ca
commit
7359d5d6ff
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ export class UserRepository extends Repository<User> {
|
|||
|
||||
const unread = channels.length > 0 ? await NoteUnreads.findOne({
|
||||
userId: userId,
|
||||
noteChannelId: In(channels.map(x => x.id)),
|
||||
noteChannelId: In(channels.map(x => x.followeeId)),
|
||||
}) : null;
|
||||
|
||||
return unread != null;
|
||||
|
|
Loading…
Reference in a new issue