commented out fading for RoomDirectory
This commit is contained in:
parent
c7d717f0a4
commit
7cd24e7dbd
|
@ -43,6 +43,14 @@ module.exports = React.createClass({
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
componentWillMount: function() {
|
||||||
|
// dis.dispatch({
|
||||||
|
// action: 'ui_opacity',
|
||||||
|
// sideOpacity: 0.3,
|
||||||
|
// middleOpacity: 0.3,
|
||||||
|
// });
|
||||||
|
},
|
||||||
|
|
||||||
componentDidMount: function() {
|
componentDidMount: function() {
|
||||||
var self = this;
|
var self = this;
|
||||||
MatrixClientPeg.get().publicRooms(function (err, data) {
|
MatrixClientPeg.get().publicRooms(function (err, data) {
|
||||||
|
@ -65,6 +73,14 @@ module.exports = React.createClass({
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
componentWillUnmount: function() {
|
||||||
|
// dis.dispatch({
|
||||||
|
// action: 'ui_opacity',
|
||||||
|
// sideOpacity: 1.0,
|
||||||
|
// middleOpacity: 1.0,
|
||||||
|
// });
|
||||||
|
},
|
||||||
|
|
||||||
showRoom: function(roomId) {
|
showRoom: function(roomId) {
|
||||||
// extract the metadata from the publicRooms structure to pass
|
// extract the metadata from the publicRooms structure to pass
|
||||||
// as out-of-band data to view_room, because we get information
|
// as out-of-band data to view_room, because we get information
|
||||||
|
|
Loading…
Reference in New Issue