You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PR Actions button posts the slash command as a message instead of running it #158
The "PR Actions in #" button that the app adds to messages with a GitHub pull request link posts /github <owner>/<repo> pulls <n> into the room as a normal message. The command never runs, and everyone in the room sees the raw text.
The PR view opens, the same as typing /github RocketChat/Apps.Github22 pulls 144.
Actual behavior:
/github RocketChat/Apps.Github22 pulls 144 is posted to the room as a message from the user who clicked, and nothing else happens.
Rocket.Chat Server Setup Information:
Version of Rocket.Chat Server: 8.8
Operating System: Linux
Deployment Method: docker
Rocket.Chat Client Setup Information
Browser Version: Chrome, web client
Additional context
The button is a message attachment action with msg_in_chat_window: true and no msg_processing_type (github/handlers/GithubPRlinkHandler.ts). Rocket.Chat's client sends that text through its send flow without allowing slash commands (isSlashCommandAllowed in apps/meteor/client/lib/chats/flows/sendMessage.ts), so it lands as a plain message. Related: #135.
Activity