You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-12-01 09:58:03 +03:00
@@ -590,12 +590,11 @@ module.exports = React.createClass({
|
|||||||
if (theAlias) presentedId = theAlias;
|
if (theAlias) presentedId = theAlias;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (typeof presentedId != 'undefined') {
|
if (presentedId != undefined) {
|
||||||
self.notifyNewScreen('room/'+presentedId);
|
self.notifyNewScreen('room/'+presentedId);
|
||||||
} else {
|
} else {
|
||||||
// There is no information on presentedId
|
// There is no information on presentedId
|
||||||
// so point user to fallback like /directory
|
// so point user to fallback like /directory
|
||||||
// TODO(mebjas): confirm if this is correct fallback
|
|
||||||
self.notifyNewScreen('directory');
|
self.notifyNewScreen('directory');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user