Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
d64310cd
Commit
d64310cd
authored
Feb 16, 2018
by
Ghislain MARY
Browse files
Do not notify is-composing received false state when receiving an is-composing or imdn message.
parent
9ca30446
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
src/chat/chat-room/chat-room.cpp
src/chat/chat-room/chat-room.cpp
+6
-2
No files found.
src/chat/chat-room/chat-room.cpp
View file @
d64310cd
...
...
@@ -241,8 +241,12 @@ end:
void
ChatRoomPrivate
::
onChatMessageReceived
(
const
shared_ptr
<
ChatMessage
>
&
chatMessage
)
{
const
IdentityAddress
&
fromAddress
=
chatMessage
->
getFromAddress
();
isComposingHandler
->
stopRemoteRefreshTimer
(
fromAddress
.
asString
());
notifyIsComposingReceived
(
fromAddress
,
false
);
if
((
chatMessage
->
getPrivate
()
->
getContentType
()
!=
ContentType
::
ImIsComposing
)
&&
(
chatMessage
->
getPrivate
()
->
getContentType
()
!=
ContentType
::
Imdn
)
)
{
isComposingHandler
->
stopRemoteRefreshTimer
(
fromAddress
.
asString
());
notifyIsComposingReceived
(
fromAddress
,
false
);
}
chatMessage
->
getPrivate
()
->
notifyReceiving
();
}
...
...
Write
Preview
Markdown
is supported
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