You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
remove trace, add comment, ...
This commit is contained in:
@@ -838,7 +838,6 @@ export default React.createClass({
|
|||||||
_viewRoom: function(roomInfo) {
|
_viewRoom: function(roomInfo) {
|
||||||
this.focusComposer = true;
|
this.focusComposer = true;
|
||||||
console.log("!!! MatrixChat._viewRoom", roomInfo);
|
console.log("!!! MatrixChat._viewRoom", roomInfo);
|
||||||
console.trace();
|
|
||||||
|
|
||||||
const newState = {
|
const newState = {
|
||||||
currentRoomId: roomInfo.room_id || null,
|
currentRoomId: roomInfo.room_id || null,
|
||||||
@@ -887,6 +886,9 @@ export default React.createClass({
|
|||||||
if (roomInfo.event_id && roomInfo.highlighted) {
|
if (roomInfo.event_id && roomInfo.highlighted) {
|
||||||
presentedId += "/" + roomInfo.event_id;
|
presentedId += "/" + roomInfo.event_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// TODO: only emit this when we're not in grid mode?
|
||||||
this.notifyNewScreen('room/' + presentedId);
|
this.notifyNewScreen('room/' + presentedId);
|
||||||
newState.ready = true;
|
newState.ready = true;
|
||||||
this.setState(newState);
|
this.setState(newState);
|
||||||
|
|||||||
Reference in New Issue
Block a user