Send a notification to the user when they are added to the list

This commit is contained in:
kolaente 2021-02-17 20:48:06 +01:00
parent 0bd27ddeb7
commit c873c1ec32
Signed by untrusted user who does not match committer: konrad
GPG key ID: F40E70337AB24C9B
5 changed files with 61 additions and 6 deletions

View file

@ -216,7 +216,7 @@ func (n *NamespaceSharedWithTeamEvent) Name() string {
type TeamMemberAddedEvent struct {
Team *Team
Member *user.User
Doer web.Auth
Doer *user.User
}
// Name defines the name for TeamMemberAddedEvent