Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
42wim committed May 23, 2024
1 parent d055b45 commit 13fd5c5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions bridge/mattermost/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -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": {},
Expand Down

0 comments on commit 13fd5c5

Please sign in to comment.