Skip to content

Commit

Permalink
Deprecate MatrixClient.isEventSenderVerified (#4527)
Browse files Browse the repository at this point in the history
  • Loading branch information
florianduros authored Nov 13, 2024
1 parent 52bdb57 commit f5f4091
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f5f4091

Please sign in to comment.