diff options
author | Wim <wim@42.be> | 2018-11-08 00:46:34 +0100 |
---|---|---|
committer | Wim <wim@42.be> | 2018-11-08 00:46:34 +0100 |
commit | 399789811ecab11f7dfb775f83d063b20167bb1d (patch) | |
tree | 771636eeeec33a66be1def907cc27f25edf10506 /bridge/discord | |
parent | 8d117cb0a48b4b7d137d1900cf0160755bfb1b65 (diff) | |
download | matterbridge-msglm-399789811ecab11f7dfb775f83d063b20167bb1d.tar.gz matterbridge-msglm-399789811ecab11f7dfb775f83d063b20167bb1d.tar.bz2 matterbridge-msglm-399789811ecab11f7dfb775f83d063b20167bb1d.zip |
Make gocritic linter happy
Diffstat (limited to 'bridge/discord')
-rw-r--r-- | bridge/discord/discord.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/discord/discord.go b/bridge/discord/discord.go index 0549187f..94a09186 100644 --- a/bridge/discord/discord.go +++ b/bridge/discord/discord.go @@ -234,7 +234,7 @@ func (b *Bdiscord) messageUpdate(s *discordgo.Session, m *discordgo.MessageUpdat // only when message is actually edited if m.Message.EditedTimestamp != "" { b.Log.Debugf("Sending edit message") - m.Content = m.Content + b.GetString("EditSuffix") + m.Content += b.GetString("EditSuffix") b.messageCreate(s, (*discordgo.MessageCreate)(m)) } } |