لا يمكن إعداد إشعارات البريد الإلكتروني للدردشة في إعدادات المدير

As an admin, I can’t find the setting according to the option “Email Notifications” in user chat preferences.

I need to set the option to ‘Never’ for every user at once, but I can’t.



إعجابَين (2)

I’ve moved this to feature and tagged it chat as it isn’t a broken thing but rather a thing you are requesting.

You’ve got my +1! It would be really helpful to be able to easily configure site defaults for chat.

You could probably do what you need via the Rails console for your existing users. But I’m not sure how you’d do that for your new joiners. Maybe a Custom Wizard?

4 إعجابات

I just needed to set the default email notifications (to never) for chat for everyone, because it seems like when_away is the default.

I’m sharing the script:

User.all.each do |user|
  user_option = user.user_option

  if user_option.chat_email_frequency != "never"
    puts "User: #{user.username} - Current chat_email_frequency setting: #{user_option.chat_email_frequency}"
    user_option.update(chat_email_frequency: "never")
    # puts "Updated chat_email_frequency setting to 'never' for user: #{user.username}"
  end
end
إعجاب واحد (1)

What will you do for your new joiners?