diff --git a/src/components/chat/ChatModel.cpp b/src/components/chat/ChatModel.cpp index e84922a7f..3b644d7f4 100644 --- a/src/components/chat/ChatModel.cpp +++ b/src/components/chat/ChatModel.cpp @@ -27,7 +27,6 @@ #include #include #include -#include #include #include @@ -273,6 +272,8 @@ void ChatModel::setSipAddress (const QString &sipAddress) { mChatRoom = core->getChatRoomFromUri(::Utils::appStringToCoreString(sipAddress)); Q_CHECK_PTR(mChatRoom.get()); + handleIsComposingChanged(mChatRoom); + if (mChatRoom->getUnreadMessagesCount() > 0) resetMessagesCount(); diff --git a/ui/modules/Linphone/Styles/Chat/ChatStyle.qml b/ui/modules/Linphone/Styles/Chat/ChatStyle.qml index d36c16536..b6afcea10 100644 --- a/ui/modules/Linphone/Styles/Chat/ChatStyle.qml +++ b/ui/modules/Linphone/Styles/Chat/ChatStyle.qml @@ -36,7 +36,7 @@ QtObject { property QtObject composingText: QtObject { property color color: Colors.b property int height: 25 - property int leftPadding: 6 + property int leftPadding: 20 property int pointSize: Units.dp * 9 }