When a user is invited and accepts an invitation to a moderated group, there is no email sent to the admin of the group to let them know of it. This is a pretty big "break" in the flow and functionality. How else is the admin supposed to know to approve the membership?

It appears as though the call to og_save_subscription() (line 234 of og_invite_link.pages.inc) should instead be calling og_subscribe_user(). This would send the email and do everything else.

Does that sound right?

Comments

rlnorthcutt’s picture

Status: Active » Needs review

Ok - I think I got it. I removed line 234 and replaced it with

    og_subscribe_user($invitation->group_nid, $account, $request = "User was invited");

This works! It adds the user request to the group and also sends the group admin an email telling them they have a pending request (As expected).

ron