Skip to content

Commit 8f718f5

Browse files
committed
Adds message_id to params whitelist
1 parent 279b8d9 commit 8f718f5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/chatops/controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def setup_params!
5757

5858
@jsonrpc_params = params.delete(:params) if params.has_key? :params
5959

60-
self.params = params.permit(:action, :chatop, :controller, :id, :mention_slug, :method, :room_id, :user)
60+
self.params = params.permit(:action, :chatop, :controller, :id, :mention_slug, :message_id, :method, :room_id, :user)
6161
end
6262

6363
def jsonrpc_params

0 commit comments

Comments
 (0)