mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: allow sending bulk invites to staged users
This commit is contained in:
@@ -93,7 +93,7 @@ module Jobs
|
||||
topic = get_topic(invite[:topic_id])
|
||||
|
||||
begin
|
||||
if user = User.find_by_email(email)
|
||||
if user = Invite.find_user_by_email(email)
|
||||
if groups.present?
|
||||
Group.transaction do
|
||||
groups.each do |group|
|
||||
|
||||
Reference in New Issue
Block a user