lib/ruboty/adapters/slack_rtm.rb in ruboty-slack_rtm-2.6.0 vs lib/ruboty/adapters/slack_rtm.rb in ruboty-slack_rtm-2.7.0
- old
+ new
@@ -30,10 +30,10 @@
if message[:attachments] && !message[:attachments].empty?
client.chat_postMessage(
channel: channel,
text: message[:code] ? "```\n#{message[:body]}\n```" : message[:body],
- parse: 'full',
+ parse: message[:parse] || 'full',
unfurl_links: true,
as_user: true,
attachments: message[:attachments].to_json
)
else