remove old commented-out code

This commit is contained in:
Matthew Hodgson 2014-09-23 16:12:06 +01:00
parent c9f73bd325
commit 7d94913efb
1 changed files with 1 additions and 2 deletions

View File

@ -697,11 +697,10 @@ angular.module('matrixService', [])
createRoomIdToAliasMapping: function(roomId, alias) { createRoomIdToAliasMapping: function(roomId, alias) {
roomIdToAlias[roomId] = alias; roomIdToAlias[roomId] = alias;
aliasToRoomId[alias] = roomId; aliasToRoomId[alias] = roomId;
// localStorage.setItem(MAPPING_PREFIX+roomId, alias);
}, },
getRoomIdToAliasMapping: function(roomId) { 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); //console.log("looking for alias for " + roomId + "; found: " + alias);
return alias; return alias;
}, },