From c2fa27f199845ab6d780d50cb2ae8133599800d6 Mon Sep 17 00:00:00 2001 From: Ming Rui Zhang Date: Wed, 22 Apr 2020 13:41:27 -0400 Subject: [PATCH] callwidget: reset typing indicator when changing conversation Change-Id: I8aa1c98067da5a567825a133a48459feb9fa7ad2 --- src/callwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/callwidget.cpp b/src/callwidget.cpp index 4161c2c..b90d0a4 100644 --- a/src/callwidget.cpp +++ b/src/callwidget.cpp @@ -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) { -- GitLab