Thumbnail

rani/matterbridge.git

Clone URL: https://git.buni.party/rani/matterbridge.git

commit 4f2e0076df1f72766425928db2d1d85d73e18333 Author: Wim <wim@42.be> Date: Fri May 24 00:03:29 2024 +0000 Fix linting diff --git a/bridge/mattermost/helpers.go b/bridge/mattermost/helpers.go index bc3eacb..3f1f622 100644 --- a/bridge/mattermost/helpers.go +++ b/bridge/mattermost/helpers.go @@ -17411 +17410 @@ 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": {},