refactor: replace DeviceId with str or String
This commit is contained in:
parent
b4d65ab67d
commit
588049678b
4 changed files with 29 additions and 29 deletions
|
@ -11,7 +11,7 @@ use ruma::{
|
|||
},
|
||||
},
|
||||
events::{to_device::AnyToDeviceEvent, EventJson, EventType},
|
||||
identifiers::{DeviceId, UserId},
|
||||
identifiers::UserId,
|
||||
};
|
||||
use serde_json::value::RawValue;
|
||||
use std::{collections::BTreeMap, convert::TryFrom, time::SystemTime};
|
||||
|
@ -29,7 +29,7 @@ impl Uiaa {
|
|||
pub fn try_auth(
|
||||
&self,
|
||||
user_id: &UserId,
|
||||
device_id: &DeviceId,
|
||||
device_id: &str,
|
||||
auth: &AuthData,
|
||||
uiaainfo: &UiaaInfo,
|
||||
users: &super::users::Users,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue