|
|
|
@ -1921,8 +1921,7 @@ pub(crate) fn fetch_and_handle_outliers<'a>( |
|
|
|
|
|
|
|
|
|
|
|
if let Some(auth_events) = value.get("auth_events").and_then(|c| c.as_array()) { |
|
|
|
if let Some(auth_events) = value.get("auth_events").and_then(|c| c.as_array()) { |
|
|
|
for auth_event in auth_events { |
|
|
|
for auth_event in auth_events { |
|
|
|
if let Some(Ok(auth_event)) = auth_event.as_str() |
|
|
|
if let Ok(auth_event) = serde_json::from_value(auth_event.clone().into()) { |
|
|
|
.map(|e| {let ev: std::result::Result<Arc<EventId>, _> = dbg!(serde_json::from_str(dbg!(e))); ev}) { |
|
|
|
|
|
|
|
let a: Arc<EventId> = auth_event; |
|
|
|
let a: Arc<EventId> = auth_event; |
|
|
|
todo_auth_events.push(a); |
|
|
|
todo_auth_events.push(a); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
|