UNPKG

matrix-react-sdk

Version:
10 lines (9 loc) 423 B
import { MatrixEvent } from "matrix-js-sdk/src/matrix"; import { IRoomState } from "./components/structures/RoomView"; /** * Determines whether the given event should be hidden from timelines. * @param ev The event * @param ctx An optional RoomContext to pull cached settings values from to avoid * hitting the settings store */ export default function shouldHideEvent(ev: MatrixEvent, ctx?: IRoomState): boolean;