0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-25 18:50:27 +01:00

FIX: add ability for send_message to recognise custom title

Dieser Commit ist enthalten in:
Robert Barrow 2019-10-01 17:13:15 +01:00
Ursprung d376e178b4
Commit f5fc69a908

Datei anzeigen

@ -422,7 +422,12 @@ class CustomWizard::Builder
end
def send_message(user, action, data)
unless action['custom_title_enabled']
title = data[action['title']]
else
title = action['custom_title']
end
if action['post_builder']
post = CustomWizard::Builder.fill_placeholders(action['post_template'], user, data)