diff --git a/lib/rocket_chat/messages/room.rb b/lib/rocket_chat/messages/room.rb index 36c2735..a28bd3b 100644 --- a/lib/rocket_chat/messages/room.rb +++ b/lib/rocket_chat/messages/room.rb @@ -354,7 +354,7 @@ def file_upload_hash(**params) hash.map do |key, value| next [key, value, file_options] if key == :file && file_options.keys.any? - [key, value] + [key, value] end end end