From c86137449e733fc643337f33eaa33daf9e16d73c Mon Sep 17 00:00:00 2001 From: Wim Date: Thu, 27 May 2021 21:45:23 +0200 Subject: Add a MessageClipped option to set your own clipped message. Closes #1359 (#1487) --- bridge/slack/slack.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bridge/slack') diff --git a/bridge/slack/slack.go b/bridge/slack/slack.go index 37ddd853..457312cd 100644 --- a/bridge/slack/slack.go +++ b/bridge/slack/slack.go @@ -195,7 +195,7 @@ func (b *Bslack) Send(msg config.Message) (string, error) { b.Log.Debugf("=> Receiving %#v", msg) } - msg.Text = helper.ClipMessage(msg.Text, messageLength) + msg.Text = helper.ClipMessage(msg.Text, messageLength, b.GetString("MessageClipped")) msg.Text = b.replaceCodeFence(msg.Text) // Make a action /me of the message -- cgit v1.2.3