Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
// ios/EncryptedChat/EncryptedChatViewController.swift:26
override func messageCell(at indexPath: IndexPath, message: Message, readUsers: [User]) -> UITableViewCell {
var modifyMessage = message
modifyMessage.text = == user ?
VirgilClient.shared.decryptMine(message.text) :
VirgilClient.shared.decryptTheirs(message.text, from: otherUser!)
return super.messageCell(at: indexPath, message: modifyMessage, readUsers: readUsers)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.