mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-12-25 15:02:33 +01:00
Fix chat list
This commit is contained in:
parent
dbf472665a
commit
71053ff4d2
@ -6,8 +6,8 @@ class RoomNameCalculator {
|
|||||||
const RoomNameCalculator(this.room);
|
const RoomNameCalculator(this.room);
|
||||||
|
|
||||||
String get name {
|
String get name {
|
||||||
if (room.name.isEmpty &&
|
if ((room.name?.isEmpty ?? true) &&
|
||||||
room.canonicalAlias.isEmpty &&
|
(room.canonicalAlias?.isEmpty ?? true) &&
|
||||||
!room.isDirectChat) {
|
!room.isDirectChat) {
|
||||||
return "Group with ${room.displayname}";
|
return "Group with ${room.displayname}";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user