diff --git a/src/utils.ts b/src/utils.ts index af763cc3a1..2c98e1532a 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -398,7 +398,7 @@ export function addToMessageList( // if message is newer than last item in the list concat and return unless it's an update or deletion if (messageIsNewest && addMessageToList) { return newMessages.concat(newMessage); - } else if (newMessages.length === 0) { + } else if (messageIsNewest) { return newMessages; }