feat: Finish implementing MSC4190

This commit is contained in:
Ginger authored and timedout committed 2026-06-29 16:46:07 +01:00
1 parent e5dc5bedfc
commit 2eff454787
2 files changed
+10 -1

No files matched your search

+3 -1
View File
@@ -121,7 +121,9 @@ pub(crate) async fn delete_device_route(
let sender_user = body.identity.expect_sender_user()?;
// Appservices get to skip UIAA for this endpoint
if let Some(sender_device) = body.identity.sender_device() {
if !body.identity.is_appservice() {
let sender_device = body.identity.expect_sender_device()?;
// Prompt the user to confirm with their password using UIAA
let _ = services
.uiaa