less relation autoreports

pull/87/head
Thibault Duplessis 2014-06-10 00:50:23 +02:00
parent 7f04292640
commit 62fad167d6
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ final class RelationApi(
case _ => RelationRepo.block(u1, u2) >> limitBlock(u1) >> refresh(u1, u2) >>-
bus.publish(lila.hub.actorApi.relation.Block(u1, u2), 'relation) >>-
(nbBlockers(u2) zip nbFollowers(u2)).andThen {
case Success((blockers, followers)) if blockers > 9 && blockers > (followers / 5) =>
case Success((blockers, followers)) if blockers >= 20 && blockers > followers =>
reporter ! Blocked(u2, blockers, followers)
}
}