matrix-js-sdk
Version:
Matrix Client-Server SDK for Javascript
10 lines • 483 B
TypeScript
import { IEvent } from "./models/event";
/**
* Returns a filter function for the /relations endpoint to filter out relations directly
* to the thread root event that should not live in the thread timeline
*
* @param threadId - the thread ID (ie. the event ID of the root event of the thread)
* @returns the filtered list of events
*/
export declare function getRelationsThreadFilter(threadId: string): (e: Partial<IEvent>) => boolean;
//# sourceMappingURL=thread-utils.d.ts.map