mirror of
https://github.com/nextcloud/talk-android
synced 2025-03-06 14:27:24 +00:00
parent
a2209e3d6a
commit
0451131fa4
@ -651,10 +651,11 @@ class ChatController(args: Bundle) : BaseController(args), MessagesListAdapter
|
|||||||
}
|
}
|
||||||
|
|
||||||
override fun getTitle(): String? {
|
override fun getTitle(): String? {
|
||||||
if (currentConversation != null && currentConversation?.displayName != null) {
|
val charSequence = currentConversation?.displayName as CharSequence
|
||||||
return EmojiCompat.get().process(currentConversation!!.displayName).toString()
|
return if (charSequence != null) {
|
||||||
|
EmojiCompat.get().process(charSequence).toString()
|
||||||
} else {
|
} else {
|
||||||
return ""
|
""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user