1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
This commit is contained in:
a68366 2016-01-18 16:45:29 +03:00
parent b804544408
commit dba7a53ec7

View File

@ -83,6 +83,7 @@ void OfflineMsgEngine::deliverOfflineMsgs()
QMap<int64_t, MsgPtr> msgs = undeliveredMsgs;
removeAllReciepts();
undeliveredMsgs.clear();
for (auto iter = msgs.begin(); iter != msgs.end(); ++iter)
{
@ -110,5 +111,4 @@ void OfflineMsgEngine::removeAllReciepts()
QMutexLocker ml(&mutex);
receipts.clear();
undeliveredMsgs.clear();
}