You've already forked matrix-js-sdk
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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user