diff --git a/TODO.md b/TODO.md index 99a919bcd49c0adfccce52a3e36745340b4f4ce5..61d834e0b9008ccf44fa99569c519a4dae946814 100644 --- a/TODO.md +++ b/TODO.md @@ -1,3 +1,5 @@ +* Create Adhoc-Commands method to look up single phone number +* Allow users in the directory to loop up others * Allow multiple entries (phone numbers) per Jabber ID * Generalize look up method and allow email addresses (and potentially all sort of uris) to be stored in the directory * XEPify look up method diff --git a/src/main/java/im/quicksy/server/throttle/VolumeLimiter.java b/src/main/java/im/quicksy/server/throttle/VolumeLimiter.java index 362b61ced6e7dfd67b06db7bea3323729df9f779..a5beb7a0ac7042eaf99ea3cc559e078947c2c409 100644 --- a/src/main/java/im/quicksy/server/throttle/VolumeLimiter.java +++ b/src/main/java/im/quicksy/server/throttle/VolumeLimiter.java @@ -39,7 +39,7 @@ public class VolumeLimiter<E, T> { } if (whats.size() > strategy.getAttempts()) { - throw new RetryInException(Duration.ZERO); + throw new RetryInException(Duration.ZERO); //TODO should we throw a too large exception. because retry doesn’t really make sense } List<T> remaining = new ArrayList<>(whats);