mirror of
https://gitlab.com/famedly/conduit.git
synced 2024-11-04 16:18:51 +01:00
Use String to store UserId for uiaa request
Fixes compilation error after ruma upgrade
This commit is contained in:
parent
0725b69abb
commit
720a54b3bb
1 changed files with 3 additions and 3 deletions
|
@ -21,7 +21,7 @@ use super::abstraction::Tree;
|
|||
pub struct Uiaa {
|
||||
pub(super) userdevicesessionid_uiaainfo: Arc<dyn Tree>, // User-interactive authentication
|
||||
pub(super) userdevicesessionid_uiaarequest:
|
||||
RwLock<BTreeMap<(UserId, String, String), CanonicalJsonValue>>,
|
||||
RwLock<BTreeMap<(String, String, String), CanonicalJsonValue>>,
|
||||
}
|
||||
|
||||
impl Uiaa {
|
||||
|
@ -155,7 +155,7 @@ impl Uiaa {
|
|||
.unwrap()
|
||||
.insert(
|
||||
(
|
||||
user_id.to_owned(),
|
||||
user_id.to_string(),
|
||||
device_id.to_string(),
|
||||
session.to_string(),
|
||||
),
|
||||
|
@ -176,7 +176,7 @@ impl Uiaa {
|
|||
.read()
|
||||
.unwrap()
|
||||
.get(&(
|
||||
user_id.to_owned(),
|
||||
user_id.to_string(),
|
||||
device_id.to_string(),
|
||||
session.to_string(),
|
||||
))
|
||||
|
|
Loading…
Reference in a new issue