mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
MM-47403: Populate the productHooks field (#21280)
We need to do this to pass the hooked events to the products. https://mattermost.atlassian.net/browse/MM-47403 ```release-note NONE ```
This commit is contained in:
@@ -406,6 +406,7 @@ type hooksAdapter struct {
|
||||
func newAdapter(productHooks any) (*hooksAdapter, error) {
|
||||
a := &hooksAdapter{
|
||||
implemented: make(map[int]struct{}),
|
||||
productHooks: productHooks,
|
||||
}
|
||||
var tt reflect.Type
|
||||
ft := reflect.TypeOf(productHooks)
|
||||
|
||||
Reference in New Issue
Block a user