summaryrefslogtreecommitdiffstats
path: root/bridge/mattermost/helpers.go
diff options
context:
space:
mode:
Diffstat (limited to 'bridge/mattermost/helpers.go')
-rw-r--r--bridge/mattermost/helpers.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/bridge/mattermost/helpers.go b/bridge/mattermost/helpers.go
index 3e1262c7..cca1c4e6 100644
--- a/bridge/mattermost/helpers.go
+++ b/bridge/mattermost/helpers.go
@@ -66,7 +66,7 @@ func (b *Bmattermost) doConnectWebhookURL() error {
return nil
}
-// nolint:wrapcheck
+//nolint:wrapcheck
func (b *Bmattermost) apiLogin() error {
password := b.GetString("Password")
if b.GetString("Token") != "" {
@@ -171,7 +171,7 @@ func (b *Bmattermost) sendWebhook(msg config.Message) (string, error) {
}
// skipMessages returns true if this message should not be handled
-// nolint:gocyclo,cyclop
+//nolint:gocyclo,cyclop
func (b *Bmattermost) skipMessage(message *matterclient.Message) bool {
// Handle join/leave
if message.Type == "system_join_leave" ||