Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
Mario Danic 2020-03-18 10:46:58 +01:00
parent e305979cdd
commit a79f9cded8
No known key found for this signature in database
GPG Key ID: CDE0BBD2738C4CC0

View File

@ -195,8 +195,6 @@ open class ChatPresenter<T : Any>(context: Context, onElementClick: ((Page, Hold
holder.itemView.outgoingPreviewTime.text = DateFormatter.format(it.createdAt, DateFormatter.Template.TIME) holder.itemView.outgoingPreviewTime.text = DateFormatter.format(it.createdAt, DateFormatter.Template.TIME)
} }
} else { } else {
// it's ChatElementTypes.SYSTEM_MESSAGE // it's ChatElementTypes.SYSTEM_MESSAGE
holder.itemView.systemMessageText.text = chatMessage.text holder.itemView.systemMessageText.text = chatMessage.text