diff options
author | Matthew Hodgson <matthew@matrix.org> | 2014-09-23 16:12:06 +0100 |
---|---|---|
committer | Matthew Hodgson <matthew@matrix.org> | 2014-09-23 16:12:25 +0100 |
commit | 7d94913efb799654a8e51676bcb9813f2e453514 (patch) | |
tree | 0fa723a0ec8bbbc1056c3b24a8e982af2f5687d1 /webclient | |
parent | fix one cause of SYWEB-53 (diff) | |
download | synapse-7d94913efb799654a8e51676bcb9813f2e453514.tar.xz |
remove old commented-out code
Diffstat (limited to 'webclient')
-rw-r--r-- | webclient/components/matrix/matrix-service.js | 3 |
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; }, |