You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-04 11:51:45 +03:00
Remove unused methods
This commit is contained in:
@@ -705,12 +705,6 @@ export default class RoomView extends React.Component<IProps, IState> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private onLayoutChange = () => {
|
|
||||||
this.setState({
|
|
||||||
layout: SettingsStore.getValue("layout"),
|
|
||||||
});
|
|
||||||
};
|
|
||||||
|
|
||||||
private onRightPanelStoreUpdate = () => {
|
private onRightPanelStoreUpdate = () => {
|
||||||
this.setState({
|
this.setState({
|
||||||
showRightPanel: RightPanelStore.getSharedInstance().isOpenForRoom,
|
showRightPanel: RightPanelStore.getSharedInstance().isOpenForRoom,
|
||||||
|
|||||||
@@ -96,16 +96,6 @@ export default class AuxPanel extends React.Component<IProps, IState> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
onConferenceNotificationClick = (ev, type) => {
|
|
||||||
dis.dispatch({
|
|
||||||
action: 'place_call',
|
|
||||||
type: type,
|
|
||||||
room_id: this.props.room.roomId,
|
|
||||||
});
|
|
||||||
ev.stopPropagation();
|
|
||||||
ev.preventDefault();
|
|
||||||
};
|
|
||||||
|
|
||||||
_rateLimitedUpdate = new RateLimitedFunc(() => {
|
_rateLimitedUpdate = new RateLimitedFunc(() => {
|
||||||
if (SettingsStore.getValue("feature_state_counters")) {
|
if (SettingsStore.getValue("feature_state_counters")) {
|
||||||
this.setState({counters: this._computeCounters()});
|
this.setState({counters: this._computeCounters()});
|
||||||
|
|||||||
Reference in New Issue
Block a user