remove unused method

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
Marcel Hibbe 2024-11-21 18:00:16 +01:00
parent 16d03a69ff
commit 8e08d9279d
No known key found for this signature in database
GPG Key ID: C793F8B59F43CE7B

View File

@ -242,17 +242,6 @@ class IncomingTextMessageViewHolder(itemView: View, payload: Any) :
} }
} }
private fun showAvatarOnChatMessage(message: ChatMessage) {
binding.messageUserAvatar.visibility = View.VISIBLE
if (message.actorType == "guests") {
// do nothing, avatar is set
} else if (message.actorType == "bots" && message.actorId == "changelog") {
binding.messageUserAvatar.loadChangelogBotAvatar()
} else if (message.actorType == "bots") {
binding.messageUserAvatar.loadBotsAvatar()
}
}
fun assignCommonMessageInterface(commonMessageInterface: CommonMessageInterface) { fun assignCommonMessageInterface(commonMessageInterface: CommonMessageInterface) {
this.commonMessageInterface = commonMessageInterface this.commonMessageInterface = commonMessageInterface
} }