Skip to content

Commit

Permalink
Return emtpy string in case of no text
Browse files Browse the repository at this point in the history
  • Loading branch information
ronaldmannak committed Apr 13, 2024
1 parent 72d769e commit 5c4b24e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/CleverBird/chat/ChatMessage.swift
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ extension ChatMessage {
return textValue
}
}
return "Media content with no text"
return ""
case .text(let text):
return text
}
Expand Down

0 comments on commit 5c4b24e

Please sign in to comment.