Skip to content

Commit 800df0a

Browse files
committed
update
1 parent 8424040 commit 800df0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/message_bird/sources/new-sms-message-received/new-sms-message-received.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export default {
5252
const meta = this.generateMeta(message);
5353
this.$emit(message, meta);
5454

55-
if (Date.parse(message.createdDatetime) > Date.parse(lastTs)) {
55+
if (!lastTs || Date.parse(message.createdDatetime) > Date.parse(lastTs)) {
5656
lastTs = message.createdDatetime;
5757
}
5858
}

0 commit comments

Comments
 (0)