mirror of https://github.com/vector-im/riot-web
Remove `status` as it's no longer part of the MSC
parent
ce21ce8bbe
commit
d9943754f7
|
@ -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}
|
||||||
|
|
Loading…
Reference in New Issue