diff --git a/src/chat/chat-room/chat-room.cpp b/src/chat/chat-room/chat-room.cpp index 3d2ea95a4..7785774c3 100644 --- a/src/chat/chat-room/chat-room.cpp +++ b/src/chat/chat-room/chat-room.cpp @@ -241,8 +241,12 @@ end: void ChatRoomPrivate::onChatMessageReceived (const shared_ptr &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(); }