Skip to content

Commit

Permalink
comms/iridium/RockBlockIridiumMessenger: Time ordering received messa…
Browse files Browse the repository at this point in the history
…ges before pushing to internal bus.
  • Loading branch information
paulosousadias committed Jul 24, 2024
1 parent 1786985 commit a1cc428
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,7 @@ else if (m.getContent() instanceof MimeMultipart) {
return new Vector<>();
}

messages.sort((m1, m2) -> Long.compare(m1.timestampMillis, m2.timestampMillis));
return messages;
}

Expand Down

0 comments on commit a1cc428

Please sign in to comment.