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.
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.
이것은 깨진 것이 아니라 요청 사항이므로 #contribute:feature로 이동하고 chat 태그를 붙였습니다.
+1입니다! 채팅에 대한 사이트 기본 설정을 쉽게 구성할 수 있으면 정말 유용할 것입니다.
기존 사용자의 경우 Rails 콘솔을 통해 필요한 작업을 수행할 수 있을 것입니다. 하지만 새로 가입하는 사용자에게는 어떻게 해야 할지 확실하지 않습니다. 아마도 Custom Wizard를 사용할 수 있을까요?
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
What will you do for your new joiners?
이 글을 다시 올립니다.
DM에 대한 채팅 이메일 알림이 이제 핵심 이메일 설정에서 독립적으로 작동하므로, 기본 이메일 수준을 "절대 안 함"으로 설정해도 더 이상 이러한 채팅 이메일이 차단되지 않습니다.