Skip to content

Commit

Permalink
Timestamp appeared for the second last message because author's extra…
Browse files Browse the repository at this point in the history
… data changed and therefore equality check was false (#3269)
  • Loading branch information
laevandus committed Jun 27, 2024
1 parent b45f50b commit f3d96dd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ open class ChatMessageLayoutOptionsResolver {

// The message after the current one has different author so the current message
// is either a standalone or last in sequence.
guard nextMessage.author == message.author else { return true }
guard nextMessage.author.id == message.author.id else { return true }

// The current message should end the group when the next message has type:
// 1. `error` (e.g. contains invalid command/didn't pass moderation)
Expand Down

0 comments on commit f3d96dd

Please sign in to comment.