From 6dc3375c97a0bffd9b2a580105a074ec9ddc3f08 Mon Sep 17 00:00:00 2001 From: Patrick Connolly Date: Mon, 8 Oct 2018 14:48:25 +0800 Subject: [PATCH] Transformed message. bugfix --- gateway/gateway.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gateway/gateway.go b/gateway/gateway.go index 7077a088..0e9a6a39 100644 --- a/gateway/gateway.go +++ b/gateway/gateway.go @@ -265,7 +265,7 @@ func (gw *Gateway) handleMessage(msg config.Message, dest *bridge.Bridge) []*BrM msg.Username = gw.modifyUsername(origmsg, dest) msg.ID = "" if channel.Options.Locale != "" { - flog.Debugf("We're translating this message into: " + channel.Options.Locale) + msg.Text = msg.Text + " --- powered by Google Translate" } if res, ok := gw.Messages.Get(origmsg.ID); ok { IDs := res.([]*BrMsgID)