use SiteSetting.chat_integration_matrix_excerpt_length for the Matrix provider (#17)

This commit is contained in:
Francis Brunelle 2017-12-27 03:35:32 -05:00 committed by Guo Xiang Tan
parent a41ebcf225
commit 1078f8089e
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ module DiscourseChat
formatted_body: I18n.t('chat_integration.provider.matrix.formatted_message', user: display_name,
post_url: post.full_url,
title: post.topic.title,
excerpt: post.excerpt(SiteSetting.chat_integration_discord_excerpt_length, text_entities: true, strip_links: true, remap_emoji: true))
excerpt: post.excerpt(SiteSetting.chat_integration_matrix_excerpt_length, text_entities: true, strip_links: true, remap_emoji: true))
}