We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc8245c commit cf553ceCopy full SHA for cf553ce
lib/rest/RequestHandler.js
@@ -402,6 +402,8 @@ class RequestHandler {
402
const createdAt = Base.getCreatedAt(messageID);
403
if(Date.now() - this.latencyRef.latency - createdAt >= 1000 * 60 * 60 * 24 * 14) {
404
method += "_OLD";
405
+ } else if(Date.now() - this.latencyRef.latency - createdAt <= 1000 * 10) {
406
+ method += "_NEW";
407
}
408
route = method + route;
409
0 commit comments