mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-22 13:09:46 +01:00
Fix issue with the changelog conversation
This commit is contained in:
parent
b2ba532e00
commit
dcb4fa0eea
@ -90,7 +90,7 @@ class MagicIncomingTextMessageViewHolder(incomingView: View) : MessageHolders
|
|||||||
messageUserAvatarView!!.visibility = View.VISIBLE
|
messageUserAvatarView!!.visibility = View.VISIBLE
|
||||||
if (message.actorType == "guests") {
|
if (message.actorType == "guests") {
|
||||||
// do nothing, avatar is set
|
// do nothing, avatar is set
|
||||||
} else if (message.actorType == "bots" && message.actorType == "changelog") {
|
} else if (message.actorType == "bots" && message.actorId == "changelog") {
|
||||||
val layers = arrayOfNulls<Drawable>(2)
|
val layers = arrayOfNulls<Drawable>(2)
|
||||||
layers[0] = context.getDrawable(R.drawable.ic_launcher_background)
|
layers[0] = context.getDrawable(R.drawable.ic_launcher_background)
|
||||||
layers[1] = context.getDrawable(R.drawable.ic_launcher_foreground)
|
layers[1] = context.getDrawable(R.drawable.ic_launcher_foreground)
|
||||||
|
Loading…
Reference in New Issue
Block a user