mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-12-15 05:01:45 +03:00
enable to set mention chip for email guests
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
6ede78eb09
commit
ca9e2d4932
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ class MessageUtils(val context: Context) {
|
||||||
val individualHashMap = message.messageParameters!![key]
|
val individualHashMap = message.messageParameters!![key]
|
||||||
if (individualHashMap != null) {
|
if (individualHashMap != null) {
|
||||||
when (individualHashMap["type"]) {
|
when (individualHashMap["type"]) {
|
||||||
"user", "guest", "call", "user-group" -> {
|
"user", "guest", "call", "user-group", "email" -> {
|
||||||
val chip = if (individualHashMap["id"] == message.activeUser!!.userId) {
|
val chip = if (individualHashMap["id"] == message.activeUser!!.userId) {
|
||||||
R.xml.chip_you
|
R.xml.chip_you
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue