diff --git a/src/components/views/settings/BridgeTile.tsx b/src/components/views/settings/BridgeTile.tsx index 3fb184d828..f47d47cb40 100644 --- a/src/components/views/settings/BridgeTile.tsx +++ b/src/components/views/settings/BridgeTile.tsx @@ -66,7 +66,6 @@ export default class BridgeTile extends React.PureComponent { room: PropTypes.object.isRequired, } - render() { const content: IBridgeStateEvent = this.props.ev.getContent(); // Validate @@ -77,7 +76,6 @@ export default class BridgeTile extends React.PureComponent { const { channel, network, protocol } = content; const protocolName = protocol.displayname || protocol.id; const channelName = channel.displayname || channel.id; - const networkName = network ? network.displayname || network.id : protocolName; let creator = null; if (content.creator) { @@ -102,10 +100,10 @@ export default class BridgeTile extends React.PureComponent { let networkIcon; - if (protocol.avatar) { + if (protocol.avatar_url) { const avatarUrl = getHttpUriForMxc( MatrixClientPeg.get().getHomeserverUrl(), - protocol.avatar, 64, 64, "crop", + protocol.avatar_url, 64, 64, "crop", ); networkIcon =