1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Correct duplication long messages on sender side #1703 & #1697

This commit is contained in:
PKEv 2015-05-26 00:08:39 +03:00
parent 2db617bc6f
commit 6fa42c1aa0

View File

@ -1018,7 +1018,7 @@ void ChatForm::SendMessageStr(QString msg)
int id = HistoryKeeper::getInstance()->addChatEntry(f->getToxId().publicKey, qt_msg_hist,
Core::getInstance()->getSelfId().publicKey, timestamp, status);
ChatMessage::Ptr ma = addSelfMessage(msg, isAction, timestamp, false);
ChatMessage::Ptr ma = addSelfMessage(qt_msg, isAction, timestamp, false);
int rec;
if (isAction)