mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-07-24 09:25:33 +02:00
messagelistview: fix isFirst/isLast with isEmojiOnly
Change-Id: I4f9a8b037c14e48f12f42f73f0b44b9a78945567 GitLab: #1198
This commit is contained in:
parent
46da989a59
commit
a652a3d20f
1 changed files with 2 additions and 2 deletions
|
@ -109,7 +109,7 @@ JamiListView {
|
|||
function isFirst() {
|
||||
if (!nItem) return true
|
||||
else {
|
||||
if (item.showTime || item.isReply ) {
|
||||
if (item.showTime || item.isReply || nItem.isEmojiOnly ) {
|
||||
return true
|
||||
} else if (nItem.author !== item.author) {
|
||||
return true
|
||||
|
@ -121,7 +121,7 @@ JamiListView {
|
|||
function isLast() {
|
||||
if (!pItem) return true
|
||||
else {
|
||||
if (pItem.showTime || pItem.isReply) {
|
||||
if (pItem.showTime || pItem.isReply || pItem.isEmojiOnly) {
|
||||
return true
|
||||
} else if (pItem.author !== item.author) {
|
||||
return true
|
||||
|
|
Loading…
Add table
Reference in a new issue