diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-04-14 02:11:36 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-04-14 02:11:36 -0400 |
commit | 9733ae54c386f347e338c7854869ba2e57b113cb (patch) | |
tree | 9954638cbd0b7172e7822b0bdf799c02eb41d0df /components/chatwindow.cpp | |
parent | 9a7a468607d0e289c8a42adfa13bc2e9f65e9696 (diff) | |
download | abaddon-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/chatwindow.cpp')
-rw-r--r-- | components/chatwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/chatwindow.cpp b/components/chatwindow.cpp index 51f5985..1a2bb48 100644 --- a/components/chatwindow.cpp +++ b/components/chatwindow.cpp @@ -365,7 +365,7 @@ void ChatWindow::ScrollToBottom() { x->set_value(x->get_upper()); } -void ChatWindow::OnMessageSendFail(const std::string &nonce) { +void ChatWindow::OnMessageSendFail(const std::string &nonce, float retry_after) { for (auto [id, widget] : m_id_to_widget) { if (auto *container = dynamic_cast<ChatMessageItemContainer *>(widget); container->Nonce == nonce) { container->SetFailed(); |