mirror of
https://github.com/nextcloud/talk-android
synced 2025-03-05 22:05:11 +00:00
remove unused method
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
16d03a69ff
commit
8e08d9279d
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user