Revert "Allow plugins to modify outgoing group invitation notifications"

This reverts commit b08166c9cdb05eb71b8dcb50514027a0f8410c0e.
fix hook/type params