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({
|
||||
name: 'roomnick',
|
||||
myroomnick: new Command({
|
||||
name: 'myroomnick',
|
||||
args: '<display_name>',
|
||||
description: _td('Changes your display nickname in the current room only'),
|
||||
runFn: function(roomId, args) {
|
||||
|
@ -210,9 +210,9 @@ export const CommandMap = {
|
|||
},
|
||||
}),
|
||||
|
||||
roomavatar: new Command({
|
||||
name: 'roomavatar',
|
||||
args: '<mxc_url>',
|
||||
myroomavatar: new Command({
|
||||
name: 'myroomavatar',
|
||||
args: '[<mxc_url>]',
|
||||
description: _td('Changes your avatar in this current room only'),
|
||||
runFn: function(roomId, args) {
|
||||
const cli = MatrixClientPeg.get();
|
||||
|
@ -770,6 +770,7 @@ const aliases = {
|
|||
j: "join",
|
||||
newballsplease: "discardsession",
|
||||
goto: "join", // because it handles event permalinks magically
|
||||
roomnick: "myroomnick",
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue