Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-client-windows
Commits
c2fa27f1
Commit
c2fa27f1
authored
Apr 22, 2020
by
Ming Rui Zhang
Browse files
callwidget: reset typing indicator when changing conversation
Change-Id: I8aa1c98067da5a567825a133a48459feb9fa7ad2
parent
1584489e
Changes
1
Show whitespace changes
Inline
Side-by-side
src/callwidget.cpp
View file @
c2fa27f1
...
...
@@ -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
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment