mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 05:41:15 +08:00
Revert "FEATURE: Send notification when member was accepted to group. (#7503)"
This reverts commit 42c82d544ecfe138da5b0b5a336be2109179cf26.
This commit is contained in:
@ -341,7 +341,7 @@ class GroupsController < ApplicationController
|
||||
raise Discourse::InvalidParameters.new(:user_id) if user.blank?
|
||||
|
||||
if params[:accept]
|
||||
group.add(user, notify: true)
|
||||
group.add(user)
|
||||
GroupActionLogger.new(current_user, group).log_add_user_to_group(user)
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user