fix delete message on ui layer

This commit is contained in:
Peter Maquiran
2024-09-03 16:26:54 +01:00
parent 878008b4ba
commit 842133fcc6
18 changed files with 268 additions and 136 deletions
+1 -1
View File
@@ -67,6 +67,6 @@ export class RoomEntity extends BaseEntity<RoomEntity>(RoomEntitySchema) implem
}
hasLastMessage() {
return this.messages.length >= 1
return this.messages?.length >= 1
}
}