Skip to content
Snippets Groups Projects
Commit a652a3d2 authored by Sébastien Blin's avatar Sébastien Blin
Browse files

messagelistview: fix isFirst/isLast with isEmojiOnly

Change-Id: I4f9a8b037c14e48f12f42f73f0b44b9a78945567
GitLab: #1198
parent 46da989a
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment