From 13fd5c5d5b84f35285d0f8b40eed28ed6becc6ef Mon Sep 17 00:00:00 2001 From: Wim Date: Fri, 24 May 2024 00:03:29 +0200 Subject: [PATCH] Fix linting --- bridge/mattermost/helpers.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bridge/mattermost/helpers.go b/bridge/mattermost/helpers.go index bc3eacb9..3f1f622e 100644 --- a/bridge/mattermost/helpers.go +++ b/bridge/mattermost/helpers.go @@ -174,11 +174,10 @@ func (b *Bmattermost) sendWebhook(msg config.Message) (string, error) { // //nolint:gocyclo,cyclop func (b *Bmattermost) skipMessage(message *matterclient.Message) bool { - // Handle join/leave skipJoinMessageTypes := map[string]struct{}{ - "system_join_leave": {}, //deprecated for system_add_to_channel - "system_leave_channel": {}, //deprecated for system_remove_from_channel + "system_join_leave": {}, // deprecated for system_add_to_channel + "system_leave_channel": {}, // deprecated for system_remove_from_channel "system_join_channel": {}, "system_add_to_channel": {}, "system_remove_from_channel": {},