improvement: pdu cache, /sync cache

This commit is contained in:
Timo Kösters
2021-06-30 09:52:01 +02:00
parent dcac1361ec
commit 05821d6fd5
16 changed files with 424 additions and 243 deletions

View File

@@ -53,7 +53,8 @@ pub async fn set_displayname_route(
room.",
)
})?
.content,
.content
.clone(),
)
.expect("from_value::<Raw<..>> can never fail")
.deserialize()
@@ -154,7 +155,8 @@ pub async fn set_avatar_url_route(
room.",
)
})?
.content,
.content
.clone(),
)
.expect("from_value::<Raw<..>> can never fail")
.deserialize()