1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-08-09 10:22:46 +03:00

Deprecate MatrixClient.isEventSenderVerified (#4527)

This commit is contained in:
Florian Duros
2024-11-13 12:10:38 +01:00
committed by GitHub
parent 52bdb57a47
commit f5f4091a00

View File

@@ -3157,6 +3157,8 @@ export class MatrixClient extends TypedEventEmitter<EmittedEvents, ClientEventHa
*
* @returns true if the sender of this event has been verified using
* {@link MatrixClient#setDeviceVerified}.
*
* @deprecated Not supported for Rust Cryptography.
*/
public async isEventSenderVerified(event: MatrixEvent): Promise<boolean> {
const device = await this.getEventSenderDeviceInfo(event);