You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-11-28 09:24:05 +03:00
Convert EventTimeline, EventTimelineSet and TimelineWindow to TS
This commit is contained in:
@@ -129,7 +129,7 @@ class FilePanel extends React.Component<IProps, IState> {
|
||||
}
|
||||
}
|
||||
|
||||
public async fetchFileEventsServer(room: Room): Promise<void> {
|
||||
public async fetchFileEventsServer(room: Room): Promise<EventTimelineSet> {
|
||||
const client = MatrixClientPeg.get();
|
||||
|
||||
const filter = new Filter(client.credentials.userId);
|
||||
|
||||
Reference in New Issue
Block a user