Skip to content

Commit 519484b

Browse files
nmagedmanreist
authored andcommitted
Support RC API endpoint groups.create param extraData
The extraData param allows setting arbitrary attributes on the RC Room. Added to the API in RC v3.12.0 by Rocket.Chat PR 20617, commit 2ad2d0bd7ed
1 parent 29150cb commit 519484b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rocket_chat/messages/room.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ def members(room_id: nil, name: nil, offset: nil, count: nil, sort: nil)
309309
attr_reader :session
310310

311311
def room_option_hash(options)
312-
args = [options, :members, :read_only, :custom_fields]
312+
args = [options, :members, :read_only, :custom_fields, :extra_data]
313313

314314
options = Util.slice_hash(*args)
315315
return {} if options.empty?

0 commit comments

Comments
 (0)