You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-22 18:41:57 +03:00
Iterate PR based on feedback
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@ -19,6 +19,7 @@ limitations under the License.
|
|||||||
}
|
}
|
||||||
|
|
||||||
.mx_DevTools_ServersInRoomList_button {
|
.mx_DevTools_ServersInRoomList_button {
|
||||||
|
/* Set the cursor back to default as `.mx_Dialog button` sets it to pointer */
|
||||||
cursor: default !important;
|
cursor: default !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -561,8 +561,6 @@ class ServersInRoomList extends DevtoolsComponent {
|
|||||||
constructor(props, context) {
|
constructor(props, context) {
|
||||||
super(props, context);
|
super(props, context);
|
||||||
|
|
||||||
this.onQuery = this.onQuery.bind(this);
|
|
||||||
|
|
||||||
const room = MatrixClientPeg.get().getRoom(this.context.roomId);
|
const room = MatrixClientPeg.get().getRoom(this.context.roomId);
|
||||||
const servers = new Set();
|
const servers = new Set();
|
||||||
room.currentState.getStateEvents("m.room.member").forEach(ev => servers.add(ev.getSender().split(":")[1]));
|
room.currentState.getStateEvents("m.room.member").forEach(ev => servers.add(ev.getSender().split(":")[1]));
|
||||||
@ -576,7 +574,7 @@ class ServersInRoomList extends DevtoolsComponent {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
onQuery(query) {
|
onQuery = (query) => {
|
||||||
this.setState({ query });
|
this.setState({ query });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user