mirror of https://github.com/vector-im/riot-web
Change roomavatar to myroomavatar and roomnick to match, leaving alias
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/21833/head
parent
92a932158d
commit
5cb0a81565
|
@ -192,8 +192,8 @@ export const CommandMap = {
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
|
|
||||||
roomnick: new Command({
|
myroomnick: new Command({
|
||||||
name: 'roomnick',
|
name: 'myroomnick',
|
||||||
args: '<display_name>',
|
args: '<display_name>',
|
||||||
description: _td('Changes your display nickname in the current room only'),
|
description: _td('Changes your display nickname in the current room only'),
|
||||||
runFn: function(roomId, args) {
|
runFn: function(roomId, args) {
|
||||||
|
@ -210,9 +210,9 @@ export const CommandMap = {
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
|
|
||||||
roomavatar: new Command({
|
myroomavatar: new Command({
|
||||||
name: 'roomavatar',
|
name: 'myroomavatar',
|
||||||
args: '<mxc_url>',
|
args: '[<mxc_url>]',
|
||||||
description: _td('Changes your avatar in this current room only'),
|
description: _td('Changes your avatar in this current room only'),
|
||||||
runFn: function(roomId, args) {
|
runFn: function(roomId, args) {
|
||||||
const cli = MatrixClientPeg.get();
|
const cli = MatrixClientPeg.get();
|
||||||
|
@ -770,6 +770,7 @@ const aliases = {
|
||||||
j: "join",
|
j: "join",
|
||||||
newballsplease: "discardsession",
|
newballsplease: "discardsession",
|
||||||
goto: "join", // because it handles event permalinks magically
|
goto: "join", // because it handles event permalinks magically
|
||||||
|
roomnick: "myroomnick",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue