This commit is contained in:
Richard van der Hoff 2017-07-05 14:57:20 +01:00
parent 8daa0fced8
commit c04db7ece4

View file

@ -70,6 +70,7 @@ module.exports = React.createClass({
this.setState({protocolsLoading: true});
MatrixClientPeg.get().getThirdpartyProtocols().done((response) => {
console.log('got 3p networks: '+response);
this.protocols = response;
this.setState({protocolsLoading: false});
}, (err) => {
@ -498,6 +499,9 @@ module.exports = React.createClass({
);
}
console.log('renderiong with 3p networks: '+ this.protocols);
let content;
if (this.state.loading) {
content = <div className="mx_RoomDirectory">