summaryrefslogtreecommitdiff
path: root/components/chatwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'components/chatwindow.cpp')
-rw-r--r--components/chatwindow.cpp2
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();