[Store] Make old getRoomById deprecated
This commit is contained in:
parent
e6a859d83c
commit
20628330a1
|
@ -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]);
|
||||||
|
|
Loading…
Reference in a new issue