mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-22 19:48:52 +00:00
fix: fix top bar not showing group chat name
This commit is contained in:
parent
7dc3bf7e87
commit
2a4780f379
@ -29,7 +29,12 @@ Rectangle {
|
||||
id: chatInfoButton
|
||||
StatusChatInfoButton {
|
||||
chatId: chatsModel.activeChannel.id
|
||||
chatName: chatsModel.userNameOrAlias(chatsModel.activeChannel.id)
|
||||
chatName: {
|
||||
if (chatsModel.activeChannel.chatType === Constants.chatTypePrivateGroupChat) {
|
||||
return chatsModel.activeChannel.name
|
||||
}
|
||||
chatsModel.userNameOrAlias(chatsModel.activeChannel.id)
|
||||
}
|
||||
chatType: chatsModel.activeChannel.chatType
|
||||
identicon: chatsModel.activeChannel.identicon
|
||||
muted: chatsModel.activeChannel.muted
|
||||
|
Loading…
x
Reference in New Issue
Block a user