Skip to content

Commit

Permalink
added instance of Platform Source
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhijeetRanjan308 committed Aug 14, 2023
1 parent f1b8ba6 commit ef3b4cd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Sources/Kommunicate/Classes/Models/ChatMessage.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ class ChatMessage: ALKChatViewModelProtocol, Localizable {
var createdAt: String?
var channelType: Int16
var isMessageEmpty: Bool
var platformSource: String?

init(message: ALKChatViewModelProtocol) {
avatar = message.avatar
Expand All @@ -44,6 +45,7 @@ class ChatMessage: ALKChatViewModelProtocol, Localizable {
createdAt = message.createdAt
messageType = message.messageType
isMessageEmpty = message.isMessageEmpty
platformSource = message.platformSource

// Update message to show conversation assignee details
let (_, channel) = ConversationDetail().conversationAssignee(groupId: channelKey, userId: contactId)
Expand Down

0 comments on commit ef3b4cd

Please sign in to comment.