remove old commented-out code
This commit is contained in:
parent
c9f73bd325
commit
7d94913efb
|
@ -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;
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue