[Store] Make old getRoomById deprecated

This commit is contained in:
Christian Pauly 2019-09-03 13:28:06 +02:00
parent e6a859d83c
commit 20628330a1

View file

@ -378,6 +378,7 @@ class Store {
} }
/// Returns a room without events and participants. /// Returns a room without events and participants.
@deprecated
Future<Room> getRoomById(String id) async { Future<Room> getRoomById(String id) async {
List<Map<String, dynamic>> res = List<Map<String, dynamic>> res =
await db.rawQuery("SELECT * FROM Rooms WHERE room_id=?", [id]); await db.rawQuery("SELECT * FROM Rooms WHERE room_id=?", [id]);