From c7c287a7d52ed1c75f9479db52af1ae1dbbe5cac Mon Sep 17 00:00:00 2001 From: sowjanyakch Date: Tue, 28 Jan 2025 10:54:15 +0100 Subject: [PATCH] message of type actorId = "sample" should show talk logo avatar Signed-off-by: sowjanyakch --- app/src/main/java/com/nextcloud/talk/utils/ChatMessageUtils.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/nextcloud/talk/utils/ChatMessageUtils.kt b/app/src/main/java/com/nextcloud/talk/utils/ChatMessageUtils.kt index f00496448..9d271bf71 100644 --- a/app/src/main/java/com/nextcloud/talk/utils/ChatMessageUtils.kt +++ b/app/src/main/java/com/nextcloud/talk/utils/ChatMessageUtils.kt @@ -27,7 +27,7 @@ class ChatMessageUtils { } else { view.loadDefaultAvatar(viewThemeUtils) } - } else if (message.actorType == "bots" && message.actorId == "changelog") { + } else if (message.actorType == "bots" && (message.actorId == "changelog" || message.actorId == "sample")) { view.loadChangelogBotAvatar() } else if (message.actorType == "bots") { view.loadBotsAvatar()