Rocket.Chat.Apps-engine
Rocket.Chat.Apps-engine copied to clipboard
Disabling Slash Command Doesn't Remove it Client Side
To get around #70, I am now disabling and enabling the slash command based upon a setting instead of just disabling the entire App. However, when the App disables the Slash Command it doesn't get disabled in the clients web browsers or anything. Watching the websocket and no messages/frames come through which tell it to disable commands, so something is missing server side.
I came across this issue last week and posted the problem to stackoverflow (no answers yet)
See this link: https://stackoverflow.com/questions/58422893/rocket-chat-remove-system-slash-commands
This is quite an issue for us as we only want slash commands we create to be available to users. We specifically do NOT want to clone the core code to get this working if possible.
As an aside, we would also like to limit certain commands to specific roles and most likely only have them available within defined rooms / conversations if anybody has any thoughts on this.