Commit c2fa27f1 authored by Ming Rui Zhang's avatar Ming Rui Zhang

callwidget: reset typing indicator when changing conversation

Change-Id: I8aa1c98067da5a567825a133a48459feb9fa7ad2
parent 1584489e
......@@ -983,7 +983,7 @@ CallWidget::setupChatView(const lrc::api::conversation::Info& convInfo)
ui->sendContactRequestButton->setVisible(shouldShowSendContactRequestBtn);
ui->messageView->setMessagesVisibility(false);
ui->messageView->contactIsComposing(convInfo.uid, "", false);
connect(LRCInstance::getCurrentConversationModel(), &ConversationModel::composingStatusChanged, ui->messageView, &MessageWebView::contactIsComposing);
Utils::oneShotConnect(ui->messageView, &MessageWebView::sendMessageContentSaved,
[this, convInfo, accountId = accountInfo.id, lastConvUid = lastConvUid_](const QString& content) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment