[#341] Resolve "notify inviter when invite accepted"
Closes #341 (closed)
context
- admins have expressed that it is confusing that when they issue invites, they do not know who has accepted their invite or when
- we are seeing an uptick in vouched channels (25% of our overall channels), so this seemed timely to address
- this MR adds a notification to the invite issuer upon invite acceptance as part of a broader effort to give admins visibility into the state of pending invites on their channel
changes
db layer
- add
inviteRepository#findInviter
execute layer
- in
#accept
, retrieve inviter membership for newly accepted invite and (if they still are a member of the channel), send them a notification of invite acceptance (if not member anymore don't do anything)
tooling
- add
make dev.db.up
(for ease of running local db unit tests)
Edited by aguestuser