mirror of https://github.com/vector-im/riot-web
Add /me to the list
parent
4430e16707
commit
66bc30c0bc
|
@ -354,8 +354,12 @@ module.exports = {
|
|||
},
|
||||
|
||||
getCommandList: function() {
|
||||
return Object.keys(commands).sort().map(function(cmdKey) {
|
||||
// Return all the commands plus /me which isn't handled like normal commands
|
||||
var cmds = Object.keys(commands).sort().map(function(cmdKey) {
|
||||
return commands[cmdKey];
|
||||
});
|
||||
})
|
||||
cmds.push(new Command("me", "<action>", function(){}));
|
||||
|
||||
return cmds;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue