matrix-react-sdk
Version:
SDK for matrix.org using React
10 lines (9 loc) • 467 B
TypeScript
import { MatrixEvent } from "matrix-js-sdk/src/models/event";
import { MatrixClient } from "matrix-js-sdk/src/client";
/**
* Determines if a read receipt update event includes the client's own user.
* @param event The event to check.
* @param client The client to check against.
* @returns True if the read receipt update includes the client, false otherwise.
*/
export declare function readReceiptChangeIsFor(event: MatrixEvent, client: MatrixClient): boolean;