mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 11:28:07 +00:00
Send compose only if text is not empty
This commit is contained in:
parent
f6d2d3e9f1
commit
80bbcb0272
1 changed files with 1 additions and 1 deletions
|
|
@ -101,7 +101,7 @@ CREATE_PARENT_MODEL_FUNCTION(deleteChatRoom)
|
|||
|
||||
|
||||
void ChatRoomProxyModel::compose (const QString& text) {
|
||||
if (mChatRoomModel)
|
||||
if (mChatRoomModel && !text.isEmpty())
|
||||
mChatRoomModel->compose();
|
||||
gCachedText = text;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue