mirror of
https://github.com/element-hq/element-web.git
synced 2024-11-30 23:31:28 +03:00
fix potential bug where canonical alias setting is broken (modulo autoheisting)
This commit is contained in:
parent
999c52b650
commit
8d749be51f
1 changed files with 2 additions and 4 deletions
|
@ -86,10 +86,8 @@ module.exports = React.createClass({
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// save new aliases for m.room.aliases
|
// save new aliases for m.room.aliases
|
||||||
var aliasOperations = this.getAliasOperations();
|
var aliasOperations = this.getAliasOperations();
|
||||||
var promises = [];
|
|
||||||
for (var i = 0; i < aliasOperations.length; i++) {
|
for (var i = 0; i < aliasOperations.length; i++) {
|
||||||
var alias_operation = aliasOperations[i];
|
var alias_operation = aliasOperations[i];
|
||||||
console.log("alias %s %s", alias_operation.place, alias_operation.val);
|
console.log("alias %s %s", alias_operation.place, alias_operation.val);
|
||||||
|
|
Loading…
Reference in a new issue