You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-17 17:42:41 +03:00
Remove status as it's no longer part of the MSC
This commit is contained in:
@@ -53,12 +53,6 @@ export default class BridgeSettingsTab extends React.Component {
|
|||||||
const protocolName = content.protocol.displayname || content.protocol.id;
|
const protocolName = content.protocol.displayname || content.protocol.id;
|
||||||
const channelName = channel.displayname || channel.id;
|
const channelName = channel.displayname || channel.id;
|
||||||
const networkName = network ? network.displayname || network.id : "";
|
const networkName = network ? network.displayname || network.id : "";
|
||||||
let status = null;
|
|
||||||
if (content.status === "active") {
|
|
||||||
status = (<p> Status: <b>Active</b> </p>);
|
|
||||||
} else if (content.status === "disabled") {
|
|
||||||
status = (<p> Status: <b>Disabled</b> </p>);
|
|
||||||
}
|
|
||||||
|
|
||||||
let creator = null;
|
let creator = null;
|
||||||
if (content.creator) {
|
if (content.creator) {
|
||||||
@@ -122,7 +116,6 @@ export default class BridgeSettingsTab extends React.Component {
|
|||||||
<h3>{channelIcon} {channelName} {networkName ? ` on ${networkName}` : ""} {networkIcon}</h3>
|
<h3>{channelIcon} {channelName} {networkName ? ` on ${networkName}` : ""} {networkIcon}</h3>
|
||||||
<p> Connected via {protocolName} </p>
|
<p> Connected via {protocolName} </p>
|
||||||
<details>
|
<details>
|
||||||
{status}
|
|
||||||
{creator}
|
{creator}
|
||||||
{bot}
|
{bot}
|
||||||
{chanAndNetworkInfo}
|
{chanAndNetworkInfo}
|
||||||
|
|||||||
Reference in New Issue
Block a user