mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 11:28:07 +00:00
Synchronous display of last message in order to avoid waiting feelings when sending/receiving a chat message.
Hide message headers for notice.
This commit is contained in:
parent
29276cfc49
commit
ff4f4af22a
1 changed files with 2 additions and 2 deletions
|
|
@ -195,7 +195,7 @@ Rectangle {
|
|||
Layout.rightMargin: ChatStyle.entry.message.outgoing.areaSize
|
||||
spacing:0
|
||||
// Display time.
|
||||
visible: !entry.isTopGrouped// && !entry.isNotice
|
||||
visible: !entry.isTopGrouped && !entry.isNotice
|
||||
|
||||
Text {
|
||||
id:timeDisplay
|
||||
|
|
@ -235,7 +235,7 @@ Rectangle {
|
|||
Layout.fillWidth: true
|
||||
source: Logic.getComponentFromEntry(entry.chatEntry)
|
||||
z:1
|
||||
asynchronous: true
|
||||
asynchronous: index != chat.count - 1
|
||||
property int loaderIndex: 0
|
||||
function updateSync(){
|
||||
if( asynchronous && loaderIndex > 0 && chat.remainingLoadersCount - loaderIndex - chat.syncLoaderBatch <= 0 ) asynchronous = false// Sync load the end
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue