mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-02-07 15:08:24 +00:00
Fix sending composing when opening chat.
Update SDK.
This commit is contained in:
parent
2b8304f093
commit
87118d2c88
4 changed files with 5 additions and 5 deletions
|
|
@ -40,6 +40,7 @@ Item {
|
|||
signal validText (string text)
|
||||
signal audioRecordRequest()
|
||||
signal emojiClicked()
|
||||
signal composing()
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
|
|
@ -267,6 +268,7 @@ Item {
|
|||
Clipboard.restore()
|
||||
} else
|
||||
isAutoRepeating = false// We are no more repeating. Final decision is done on Releasing
|
||||
droppableTextArea.composing()
|
||||
}
|
||||
Keys.onPressed: {
|
||||
if(event.isAutoRepeat){
|
||||
|
|
@ -296,6 +298,7 @@ Item {
|
|||
}
|
||||
}
|
||||
}
|
||||
droppableTextArea.composing()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -68,9 +68,6 @@ function handleMovementStarted () {
|
|||
chat.bindToEnd = false
|
||||
}
|
||||
|
||||
function handleTextChanged (text) {
|
||||
container.proxyModel.compose(text)
|
||||
}
|
||||
|
||||
function sendMessage (text) {
|
||||
textArea.text = ''
|
||||
|
|
|
|||
|
|
@ -469,9 +469,9 @@ Rectangle {
|
|||
onTextChanged: {// This slot can be call before the item has been completed because of Rich text. So the cache must not take it account.
|
||||
if(componentReady) {
|
||||
proxyModel.cachedText=text
|
||||
Logic.handleTextChanged(textArea.getText())
|
||||
}
|
||||
}
|
||||
onComposing: proxyModel.compose(getText())
|
||||
onValidText: {
|
||||
textArea.text = ''
|
||||
chat.bindToEnd = true
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 8756a37ad10399a0c27d32590a0d1cc87ea97c2e
|
||||
Subproject commit 40373878e26ab10c31c7237f1a22758aac3939ab
|
||||
Loading…
Add table
Reference in a new issue