mirror of
https://github.com/celisej567/abaddon.git
synced 2026-09-06 20:15:19 +03:00
update rate limit indicator on failed message send
this happens when you start the client while already rate-limited
This commit is contained in:
@@ -444,3 +444,10 @@ void to_json(nlohmann::json &j, const VerificationGateInfoObject &m) {
|
||||
JS_IF("version", m.Version);
|
||||
JS_IF("enabled", m.Enabled);
|
||||
}
|
||||
|
||||
void from_json(const nlohmann::json &j, RateLimitedResponse &m) {
|
||||
JS_D("code", m.Code);
|
||||
JS_D("global", m.Global);
|
||||
JS_O("message", m.Message);
|
||||
JS_D("retry_after", m.RetryAfter);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user