Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Commit

Permalink
fix(ui): only add chat message for call once
Browse files Browse the repository at this point in the history
Fix #5370
  • Loading branch information
anthonybilinski committed Oct 12, 2018
1 parent f7df119 commit 5f48fd4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/widget/form/chatform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit 5f48fd4

Please sign in to comment.