summaryrefslogtreecommitdiffstats
path: root/bridge/whatsapp/handlers.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2022-03-20 14:13:28 +0100
committerWim <wim@42.be>2022-03-20 14:57:48 +0100
commit952221d3b9b465011b33ae8e7d881b1cf7772189 (patch)
treea32ac792bb0b2763d0e13a075b5a8ec457778968 /bridge/whatsapp/handlers.go
parent496d5b4ec7f5f4afae6199f928675d14d18de015 (diff)
downloadmatterbridge-msglm-952221d3b9b465011b33ae8e7d881b1cf7772189.tar.gz
matterbridge-msglm-952221d3b9b465011b33ae8e7d881b1cf7772189.tar.bz2
matterbridge-msglm-952221d3b9b465011b33ae8e7d881b1cf7772189.zip
Fix linting (whatsapp)
Diffstat (limited to 'bridge/whatsapp/handlers.go')
-rw-r--r--bridge/whatsapp/handlers.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/bridge/whatsapp/handlers.go b/bridge/whatsapp/handlers.go
index 1be9b5e3..8f9fef15 100644
--- a/bridge/whatsapp/handlers.go
+++ b/bridge/whatsapp/handlers.go
@@ -1,3 +1,4 @@
+// nolint:goconst
package bwhatsapp
import (
@@ -134,6 +135,7 @@ func (b *Bwhatsapp) HandleTextMessage(message whatsapp.TextMessage) {
}
// HandleImageMessage sent from WhatsApp, relay it to the brige
+// nolint:funlen
func (b *Bwhatsapp) HandleImageMessage(message whatsapp.ImageMessage) {
if message.Info.FromMe || message.Info.Timestamp < b.startedAt {
return