Skip to content

Commit

Permalink
Fix: detecting rooms where the number of the participants is smaller …
Browse files Browse the repository at this point in the history
…than 2 as abuse
  • Loading branch information
kmc7468 committed Mar 2, 2024
1 parent 4ac4790 commit 25af1bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lottery/schedules/detectAbusingUsers.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ const detectLessChatUsers = async (period, candidateUserIds) => {
if (
period.startAt > room.time ||
period.endAt <= room.time ||
room.part.length < 2 ||
room.settlementTotal === 0
)
return null;
Expand Down

0 comments on commit 25af1bd

Please sign in to comment.