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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pica-client/msguirouter.cpp b/pica-client/msguirouter.cpp
index d4a62c4..b19bc55 100644
--- a/pica-client/msguirouter.cpp
+++ b/pica-client/msguirouter.cpp
@@ -89,7 +89,7 @@ void MsgUIRouter::delivered(QByteArray to)
}
else
{
- History h(config_dbname, QByteArray((const char*)account_id, PICA_ID_SIZE));
+ History h(config_dbname, Accounts::GetCurrentAccount().id);
h.SetDelivered(to);
}