Finish creating groups
This commit is contained in:
parent
7c81657a9b
commit
0c93fc39e1
2 changed files with 40 additions and 6 deletions
|
|
@ -5,7 +5,8 @@ extension LocalizedRoomDisplayname on Room {
|
|||
String getLocalizedDisplayname(BuildContext context) {
|
||||
if ((this.name?.isEmpty ?? true) &&
|
||||
(this.canonicalAlias?.isEmpty ?? true) &&
|
||||
!this.isDirectChat) {
|
||||
!this.isDirectChat &&
|
||||
this.mHeroes.isNotEmpty) {
|
||||
return "Group with ${this.displayname}";
|
||||
}
|
||||
return this.displayname;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue