mirror of
https://github.com/cwinfo/matterbridge.git
synced 2024-12-26 05:15:38 +00:00
Fix linting
This commit is contained in:
parent
d055b4530e
commit
13fd5c5d5b
@ -174,11 +174,10 @@ 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
|
||||||
"system_leave_channel": {}, //deprecated for system_remove_from_channel
|
"system_leave_channel": {}, // deprecated for system_remove_from_channel
|
||||||
"system_join_channel": {},
|
"system_join_channel": {},
|
||||||
"system_add_to_channel": {},
|
"system_add_to_channel": {},
|
||||||
"system_remove_from_channel": {},
|
"system_remove_from_channel": {},
|
||||||
|
Loading…
Reference in New Issue
Block a user