summaryrefslogtreecommitdiffstats
path: root/pica-client/msguirouter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pica-client/msguirouter.cpp')
-rw-r--r--pica-client/msguirouter.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/pica-client/msguirouter.cpp b/pica-client/msguirouter.cpp
index efa080c..d032bb1 100644
--- a/pica-client/msguirouter.cpp
+++ b/pica-client/msguirouter.cpp
@@ -1,5 +1,6 @@
#include "msguirouter.h"
#include "dialogs/forgedcertdialog.h"
+#include "history.h"
/*
@@ -84,6 +85,12 @@ void MsgUIRouter::delivered(quint32 to)
{
chatwindows[to]->msg_delivered();
}
+ else
+ {
+ History h(config_dbname, account_id);
+
+ h.SetDelivered(to);
+ }
}
void MsgUIRouter::scary_cert_message(quint32 peer_id, QString received_cert, QString stored_cert)