Fix linting

This commit is contained in:
Wim 2024-05-24 00:03:29 +02:00
parent d055b4530e
commit 13fd5c5d5b
No known key found for this signature in database

View File

@ -174,7 +174,6 @@ func (b *Bmattermost) sendWebhook(msg config.Message) (string, error) {
// //
//nolint:gocyclo,cyclop //nolint:gocyclo,cyclop
func (b *Bmattermost) skipMessage(message *matterclient.Message) bool { func (b *Bmattermost) skipMessage(message *matterclient.Message) bool {
// Handle join/leave // Handle join/leave
skipJoinMessageTypes := map[string]struct{}{ skipJoinMessageTypes := map[string]struct{}{
"system_join_leave": {}, // deprecated for system_add_to_channel "system_join_leave": {}, // deprecated for system_add_to_channel