From 7e7493b3364a7abffbe658ab48b9aff217280ad9 Mon Sep 17 00:00:00 2001 From: Minhaz A V Date: Mon, 7 Mar 2016 21:16:35 +0530 Subject: [PATCH] removed typeof and todo Signed-off-by: Minhaz A V --- src/components/structures/MatrixChat.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/structures/MatrixChat.js b/src/components/structures/MatrixChat.js index c925e3f93d..c189c6be10 100644 --- a/src/components/structures/MatrixChat.js +++ b/src/components/structures/MatrixChat.js @@ -590,12 +590,11 @@ module.exports = React.createClass({ if (theAlias) presentedId = theAlias; } - if (typeof presentedId != 'undefined') { + if (presentedId != undefined) { self.notifyNewScreen('room/'+presentedId); } else { // There is no information on presentedId // so point user to fallback like /directory - // TODO(mebjas): confirm if this is correct fallback self.notifyNewScreen('directory'); }