summaryrefslogtreecommitdiff
path: root/components/ratelimitindicator.hpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2021-04-14 02:11:36 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2021-04-14 02:11:36 -0400
commit9733ae54c386f347e338c7854869ba2e57b113cb (patch)
tree9954638cbd0b7172e7822b0bdf799c02eb41d0df /components/ratelimitindicator.hpp
parent9a7a468607d0e289c8a42adfa13bc2e9f65e9696 (diff)
downloadabaddon-portaudio-9733ae54c386f347e338c7854869ba2e57b113cb.tar.gz
abaddon-portaudio-9733ae54c386f347e338c7854869ba2e57b113cb.zip
update rate limit indicator on failed message send
this happens when you start the client while already rate-limited
Diffstat (limited to 'components/ratelimitindicator.hpp')
-rw-r--r--components/ratelimitindicator.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/ratelimitindicator.hpp b/components/ratelimitindicator.hpp
index 5cbba4d..95dddb6 100644
--- a/components/ratelimitindicator.hpp
+++ b/components/ratelimitindicator.hpp
@@ -17,6 +17,7 @@ private:
int GetRateLimit() const;
bool UpdateIndicator();
void OnMessageCreate(const Message &message);
+ void OnMessageSendFail(const std::string &nonce, float rate_limit);
Gtk::Image m_img;
Gtk::Label m_label;