You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
Add /me to the list
This commit is contained in:
@@ -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;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user