mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-20 02:08:04 +01:00
Implement an anonymous account service for looking up accounts
This commit is contained in:
committed by
Jon Chambers
parent
eaa868cf06
commit
601e9eebbd
@@ -163,6 +163,10 @@ public class RateLimiters extends BaseRateLimiters<RateLimiters.For> {
|
||||
return forDescriptor(For.USERNAME_LOOKUP);
|
||||
}
|
||||
|
||||
public RateLimiter getUsernameLinkLookupLimiter() {
|
||||
return forDescriptor(For.USERNAME_LINK_LOOKUP_PER_IP);
|
||||
}
|
||||
|
||||
public RateLimiter getUsernameSetLimiter() {
|
||||
return forDescriptor(For.USERNAME_SET);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user