send direct message

This commit is contained in:
Peter Maquiran
2024-08-19 16:45:29 +01:00
parent ae50d9b3bd
commit 4fb24f7875
9 changed files with 57 additions and 27 deletions
@@ -80,12 +80,12 @@ export class RoomLocalRepository extends DexieRepository<RoomTable> {
}
getItemsLive(): Observable<RoomListOutPutDTO[]> {
return liveQuery(() => chatDatabase.room.toArray()) as any;
getItemsLive(){
return liveQuery(() => chatDatabase.room.toArray());
}
getRoomByIdLive(id: any): Observable<RoomListItemOutPutDTO | undefined> {
return liveQuery(() => chatDatabase.room.get(id)) as any;
getRoomByIdLive(id: any) {
return liveQuery(() => chatDatabase.room.get(id));
}