Can set user recovery key from UI
This commit is contained in:
@@ -159,6 +159,13 @@ impl MatrixClient {
|
||||
.await
|
||||
.map_err(MatrixClientError::RestoreSession)?;
|
||||
|
||||
// Wait for encryption tasks to complete
|
||||
client
|
||||
.client
|
||||
.encryption()
|
||||
.wait_for_e2ee_initialization_tasks()
|
||||
.await;
|
||||
|
||||
// Force token refresh to make sure session is still alive, otherwise disconnect user
|
||||
if let Err(refresh_error) = client.client.oauth().refresh_access_token().await {
|
||||
if let RefreshTokenError::OAuth(e) = &refresh_error
|
||||
|
||||
Reference in New Issue
Block a user