Add "user identity" display to dev tools (#33977)
* Add "user identity" display to dev tools * Correct incorect hard-coded string in test mock * Fix up tests
This commit is contained in:
@@ -125,6 +125,7 @@ export function createTestClient(): MatrixClient {
|
||||
getOwnDeviceKeys: vi.fn().mockResolvedValue({ ed25519: "ed25519", curve25519: "curve25519" }),
|
||||
getUserDeviceInfo: vi.fn().mockResolvedValue(new Map()),
|
||||
getUserVerificationStatus: vi.fn(),
|
||||
getUserCrossSigningKeys: vi.fn().mockResolvedValue(null),
|
||||
getDeviceVerificationStatus: vi.fn(),
|
||||
resetKeyBackup: vi.fn(),
|
||||
isEncryptionEnabledInRoom: vi.fn().mockResolvedValue(false),
|
||||
|
||||
+8
@@ -654,6 +654,14 @@ exports[`<Users /> should render a single user 1`] = `
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<section>
|
||||
<h2>
|
||||
Cryptographic identity
|
||||
</h2>
|
||||
<i>
|
||||
Unknown
|
||||
</i>
|
||||
</section>
|
||||
</div>
|
||||
<div
|
||||
class="mx_Dialog_buttons"
|
||||
|
||||
Reference in New Issue
Block a user