add appservice MSC4190 support

Signed-off-by: June Clementine Strawberry <june@3.dog>
This commit is contained in:
June Clementine Strawberry 2025-04-03 12:20:10 -04:00
commit 24be579477
7 changed files with 125 additions and 50 deletions
src/service/users

View file

@ -350,7 +350,6 @@ impl Service {
token: &str,
) -> Result<()> {
let key = (user_id, device_id);
// should not be None, but we shouldn't assert either lol...
if self.db.userdeviceid_metadata.qry(&key).await.is_err() {
return Err!(Database(error!(
?user_id,