From 592672e3f0324d79823a76b38147b4894f7b0af4 Mon Sep 17 00:00:00 2001 From: Marcel Hibbe Date: Thu, 21 Nov 2024 18:00:16 +0100 Subject: [PATCH] remove unused method Signed-off-by: Marcel Hibbe --- .../messages/IncomingTextMessageViewHolder.kt | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/app/src/main/java/com/nextcloud/talk/adapters/messages/IncomingTextMessageViewHolder.kt b/app/src/main/java/com/nextcloud/talk/adapters/messages/IncomingTextMessageViewHolder.kt index f71b6f1506e..b3565de23a3 100644 --- a/app/src/main/java/com/nextcloud/talk/adapters/messages/IncomingTextMessageViewHolder.kt +++ b/app/src/main/java/com/nextcloud/talk/adapters/messages/IncomingTextMessageViewHolder.kt @@ -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) { this.commonMessageInterface = commonMessageInterface }