0
0
Fork 0

fix: ignore note +1 users

This commit is contained in:
아르페 2024-01-31 03:35:32 +09:00
parent 650af9c5ca
commit cc6776687c

View file

@ -105,6 +105,7 @@ const sendAlerts = async (host: string, users: User[]) => {
.map(user => {
const count = userScoreCache.get(toAcct(user));
if (count == null) return null;
if (count.notesCount - (user.prevNotesCount ?? 0) <= 1) return null;
return {
user,
count,