mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-22 05:38:14 +00:00
Do not notify is-composing received false state when receiving an is-composing or imdn message.
This commit is contained in:
parent
9ca30446d5
commit
d64310cd0c
1 changed files with 6 additions and 2 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue