Skip to content

Commit

Permalink
Fix unique id for message
Browse files Browse the repository at this point in the history
  • Loading branch information
wiruzx committed Feb 5, 2019
1 parent b9d9efc commit a4839c9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class DemoChatMessageFactory {
}

static func makeCompoundMessage(isIncoming: Bool) -> DemoCompoundMessageModel {
let messageModel = self.makeMessageModel(isIncoming ? "1" : "2",
let messageModel = self.makeMessageModel(UUID().uuidString,
isIncoming: isIncoming,
type: .compoundItemType)
let text = isIncoming ? "Hello, how are you" : "I'm good, thanks, how about yourself?"
Expand Down

0 comments on commit a4839c9

Please sign in to comment.