Skip to content

Commit

Permalink
'#2337: Fix last commits. Clearer priority: sortId -> timeStamp -> id.
Browse files Browse the repository at this point in the history
  • Loading branch information
wladimirleite committed Oct 15, 2024
1 parent 39c1a37 commit acd9e16
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ public void setMessageTemplate(MessageTemplate messageTemplate) {
}

public long getSortId() {
return sortId == 0 ? timeStamp == null ? 0 : timeStamp.getTime() : id;
return sortId != 0 ? sortId : timeStamp != null ? timeStamp.getTime() : id;
}

public void setSortId(long sortId) {
Expand Down

0 comments on commit acd9e16

Please sign in to comment.