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

fix(ui): only add chat message for call once

Fix #5370
This commit is contained in:
Anthony Bilinski 2018-10-05 17:32:12 -07:00
parent f7df1191bc
commit 5f48fd4e10
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C

View File

@ -374,9 +374,6 @@ void ChatForm::onAvInvite(uint32_t friendId, bool video)
headWidget->createCallConfirm(video);
headWidget->showCallConfirm();
lastCallIsVideo = video;
auto msg = ChatMessage::createChatInfoMessage(tr("%1 calling").arg(displayedName),
ChatMessage::INFO, QDateTime::currentDateTime());
insertChatMessage(msg);
emit incomingNotification(friendId);
}
}