Skip to content
Snippets Groups Projects
Unverified Commit 9236a8fd authored by シアノン's avatar シアノン Committed by GitHub
Browse files

ユーザー情報のhasUnreadChannelが常にfalseになってしまっているのを修正 (#7938)

parent 303c5abf
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment