fix(@desktop/chat): render community description in chat toolbar

This was lost during the refactor to use StatusQ components because it wasn't
clear to me that community channel descriptions should be rendered there.

Fixes #2982
This commit is contained in:
Pascal Precht 2021-07-21 12:33:13 +02:00 committed by Iuri Matias
parent 865b3385f3
commit 9971f2fc0a
1 changed files with 1 additions and 0 deletions

View File

@ -198,6 +198,7 @@ Item {
//% "1 member"
return qsTrId("1-member");
case Constants.chatTypeCommunity:
return chatsModel.channelView.activeChannel.description
default:
return ""
}