Support creating devices without access_tokens.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk
2025-10-27 03:10:41 +00:00
parent a39ef994d2
commit a30c043386
4 changed files with 18 additions and 8 deletions

View File

@@ -97,7 +97,7 @@ pub(crate) async fn update_device_route(
.create_device(
sender_user,
&device_id,
(&appservice.registration.as_token, None),
(Some(&appservice.registration.as_token), None),
None,
None,
Some(client.to_string()),