Replace hardcoded strings with MsgType constants (#10604)
* replace hardcoded strings with MsgType constants * fix import and revert comments Signed-off-by: Ken Wu kenqiwu@gmail.com * fix import Signed-off-by: Ken Wu kenqiwu@gmail.com --------- Signed-off-by: Ken Wu kenqiwu@gmail.com
This commit is contained in:
parent
4d859a34e7
commit
dc4bb237d4
5 changed files with 10 additions and 11 deletions
|
@ -154,11 +154,8 @@ class FilePanel extends React.Component<IProps, IState> {
|
|||
},
|
||||
});
|
||||
|
||||
const filterId = await client.getOrCreateFilter("FILTER_FILES_" + client.credentials.userId, filter);
|
||||
filter.filterId = filterId;
|
||||
const timelineSet = room.getOrCreateFilteredTimelineSet(filter);
|
||||
|
||||
return timelineSet;
|
||||
filter.filterId = await client.getOrCreateFilter("FILTER_FILES_" + client.credentials.userId, filter);
|
||||
return room.getOrCreateFilteredTimelineSet(filter);
|
||||
}
|
||||
|
||||
private onPaginationRequest = (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue