From ca9e2d49325a29125b13c79173cb3b1218e1f3c8 Mon Sep 17 00:00:00 2001 From: Marcel Hibbe Date: Tue, 19 Nov 2024 18:23:37 +0100 Subject: [PATCH] enable to set mention chip for email guests Signed-off-by: Marcel Hibbe --- .../main/java/com/nextcloud/talk/utils/message/MessageUtils.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/nextcloud/talk/utils/message/MessageUtils.kt b/app/src/main/java/com/nextcloud/talk/utils/message/MessageUtils.kt index fa3a3b93c..4c6b3c07e 100644 --- a/app/src/main/java/com/nextcloud/talk/utils/message/MessageUtils.kt +++ b/app/src/main/java/com/nextcloud/talk/utils/message/MessageUtils.kt @@ -107,7 +107,7 @@ class MessageUtils(val context: Context) { val individualHashMap = message.messageParameters!![key] if (individualHashMap != null) { when (individualHashMap["type"]) { - "user", "guest", "call", "user-group" -> { + "user", "guest", "call", "user-group", "email" -> { val chip = if (individualHashMap["id"] == message.activeUser!!.userId) { R.xml.chip_you } else {