mirror of
https://github.com/discourse/discourse.git
synced 2024-12-15 21:03:52 +08:00
690f17bcbe
* FEATURE: Allow List for PMs This feature adds a new user setting that is disabled by default that allows them to specify a list of users that are allowed to send them private messages. This way they don't have to maintain a large list of users they don't want to here from and instead just list the people they know they do want. Staff will still always be able to send messages to the user. * Update PR based on feedback
6 lines
74 B
Ruby
6 lines
74 B
Ruby
# frozen_string_literal: true
|
|
|
|
Fabricator(:allowed_pm_user) do
|
|
user
|
|
end
|