Block WS access if Matrix account is not linked
This commit is contained in:
@@ -281,6 +281,7 @@ impl APIToken {
|
||||
pub struct ExtendedUserInfo {
|
||||
#[serde(flatten)]
|
||||
pub user: User,
|
||||
pub matrix_account_connected: bool,
|
||||
pub matrix_user_id: Option<String>,
|
||||
pub matrix_device_id: Option<String>,
|
||||
pub matrix_recovery_state: EncryptionRecoveryState,
|
||||
|
||||
Reference in New Issue
Block a user