mirror of
https://github.com/wekan/wekan.git
synced 2026-11-26 14:45:11 -05:00
The #3136 invite notification never ran: its params object was declared inside the email block, so Notifications.notify() threw a ReferenceError that its own catch logged. With it in scope, the tray would still have refused an entry with no activity, and the email service would have queued a second email beside the invitation. The invite now delivers the membership's addBoardMember activity, which the bell already renders, to an existing invitee's tray only, honouring their tray setting. A re-activated membership records that activity; re-inviting an active member adds nobody. Refs #3136. Thanks to CondensedTea and xet7 !