mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-22 17:46:08 +03:00
remove old commented-out code
This commit is contained in:
parent
c9f73bd325
commit
7d94913efb
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue