Merge pull request #2639 from andrew-leung/manifesteventlayers

Add configurable layers in manifest events
This commit is contained in:
Derek McGowan
2018-08-28 16:03:05 -07:00
committed by GitHub
9 changed files with 66 additions and 18 deletions

View File

@@ -880,7 +880,7 @@ func (app *App) eventBridge(ctx *Context, r *http.Request) notifications.Listene
}
request := notifications.NewRequestRecord(dcontext.GetRequestID(ctx), r)
return notifications.NewBridge(ctx.urlBuilder, app.events.source, actor, request, app.events.sink)
return notifications.NewBridge(ctx.urlBuilder, app.events.source, actor, request, app.events.sink, app.Config.Notifications.EventConfig.IncludeReferences)
}
// nameRequired returns true if the route requires a name.