merge rooms/short Data w/ Service; optimize queries
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
0e8ae1e13e
commit
c569881b08
18 changed files with 257 additions and 262 deletions
|
@ -25,7 +25,7 @@ impl Data {
|
|||
}
|
||||
|
||||
pub(super) async fn get_room_shortstatehash(&self, room_id: &RoomId) -> Result<u64> {
|
||||
self.roomid_shortstatehash.qry(room_id).await.deserialized()
|
||||
self.roomid_shortstatehash.get(room_id).await.deserialized()
|
||||
}
|
||||
|
||||
#[inline]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue