membership expired notification

Signed-off-by: jkoberg <jkoberg@owncloud.com>
This commit is contained in:
jkoberg
2023-01-12 13:21:11 +01:00
parent cfe7f39027
commit 63b592a04d
7 changed files with 72 additions and 38 deletions
@@ -35,8 +35,10 @@ func Server(cfg *config.Config) *cli.Command {
// evs defines a list of events to subscribe to
evs := []events.Unmarshaller{
events.ShareCreated{},
events.ShareExpired{},
events.SpaceShared{},
events.SpaceUnshared{},
events.SpaceMembershipExpired{},
}
evtsCfg := cfg.Notifications.Events