From 102c8861b7df45c5e93fc3b36c9b53dfcc3c5479 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Wed, 28 Jun 2017 14:18:21 +0200 Subject: [PATCH] fix(App): little fixes --- src/components/chat/ChatModel.cpp | 3 ++- ui/modules/Linphone/Styles/Chat/ChatStyle.qml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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 }