fix(ui/modules/Linphone/Chat/IncomingMessage): index can be -1

This commit is contained in:
Ronan Abhamon 2017-01-06 17:03:27 +01:00
parent 34fbdac7e2
commit 39e83ddb58

View file

@ -26,7 +26,7 @@ RowLayout {
// The avatar is only visible for the first message of a incoming messages sequence.
visible: {
if (index === 0) {
if (index <= 0) {
return true
}