Skip to content

Commit

Permalink
Merge pull request #480 from sparcs-kaist/#479-fix-abuse-detection-sc…
Browse files Browse the repository at this point in the history
…ript

#479 [Bug] 참여자가 1명인 방에 대해서도 어뷰징 감지 스크립트가 반응하는 버그
  • Loading branch information
kmc7468 authored Mar 3, 2024
2 parents 4ac4790 + 25af1bd commit 5d370d3
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 5d370d3

Please sign in to comment.