mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-09-10 16:22:50 +02:00
fix unnecessary re-serializations
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
8eec78e9e0
commit
814b9e28b6
7 changed files with 9 additions and 11 deletions
|
@ -197,7 +197,7 @@ pub async fn get_or_create_shortstatehash(&self, state_hash: &[u8]) -> (u64, boo
|
|||
|
||||
#[implement(Service)]
|
||||
pub async fn get_shortroomid(&self, room_id: &RoomId) -> Result<u64> {
|
||||
self.db.roomid_shortroomid.qry(room_id).await.deserialized()
|
||||
self.db.roomid_shortroomid.get(room_id).await.deserialized()
|
||||
}
|
||||
|
||||
#[implement(Service)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue