projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ConnectionPool: fix the previous hotfix
[akkoma]
/
lib
/
pleroma
/
user
/
notification_setting.ex
diff --git
a/lib/pleroma/user/notification_setting.ex
b/lib/pleroma/user/notification_setting.ex
index ffe9860de28706513589e0dc574aed58d3c82db8..7d9e8a000f095c06036b93db168e065d6b96379c 100644
(file)
--- a/
lib/pleroma/user/notification_setting.ex
+++ b/
lib/pleroma/user/notification_setting.ex
@@
-11,14
+11,14
@@
defmodule Pleroma.User.NotificationSetting do
embedded_schema do
field(:block_from_strangers, :boolean, default: false)
embedded_schema do
field(:block_from_strangers, :boolean, default: false)
- field(:
privacy_option
, :boolean, default: false)
+ field(:
hide_notification_contents
, :boolean, default: false)
end
def changeset(schema, params) do
schema
|> cast(prepare_attrs(params), [
:block_from_strangers,
end
def changeset(schema, params) do
schema
|> cast(prepare_attrs(params), [
:block_from_strangers,
- :
privacy_option
+ :
hide_notification_contents
])
end
])
end