summary refs log tree commit diff
path: root/webclient/components
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2014-09-23 16:12:06 +0100
committerMatthew Hodgson <matthew@matrix.org>2014-09-23 16:12:25 +0100
commit7d94913efb799654a8e51676bcb9813f2e453514 (patch)
tree0fa723a0ec8bbbc1056c3b24a8e982af2f5687d1 /webclient/components
parentfix one cause of SYWEB-53 (diff)
downloadsynapse-7d94913efb799654a8e51676bcb9813f2e453514.tar.xz
remove old commented-out code
Diffstat (limited to 'webclient/components')
-rw-r--r--webclient/components/matrix/matrix-service.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/webclient/components/matrix/matrix-service.js b/webclient/components/matrix/matrix-service.js
index 069e02e939..79781f5d86 100644
--- a/webclient/components/matrix/matrix-service.js
+++ b/webclient/components/matrix/matrix-service.js
@@ -697,11 +697,10 @@ angular.module('matrixService', [])
         createRoomIdToAliasMapping: function(roomId, alias) {
             roomIdToAlias[roomId] = alias;
             aliasToRoomId[alias] = roomId;
-            // localStorage.setItem(MAPPING_PREFIX+roomId, alias);
         },
         
         getRoomIdToAliasMapping: function(roomId) {
-            var alias = roomIdToAlias[roomId]; // was localStorage.getItem(MAPPING_PREFIX+roomId)
+            var alias = roomIdToAlias[roomId];
             //console.log("looking for alias for " + roomId + "; found: " + alias);
             return alias;
         },