projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Feature/1072 muting notifications
[akkoma]
/
lib
/
pleroma
/
web
/
mastodon_api
/
views
/
account_view.ex
diff --git
a/lib/pleroma/web/mastodon_api/views/account_view.ex
b/lib/pleroma/web/mastodon_api/views/account_view.ex
index 62c516f8eb97989538a1b3e3c3b0e050574ce50d..65bab40629dd765859b02943bee872fe2d3cb330 100644
(file)
--- a/
lib/pleroma/web/mastodon_api/views/account_view.ex
+++ b/
lib/pleroma/web/mastodon_api/views/account_view.ex
@@
-52,7
+52,7
@@
defmodule Pleroma.Web.MastodonAPI.AccountView do
followed_by: User.following?(target, user),
blocking: User.blocks?(user, target),
muting: User.mutes?(user, target),
followed_by: User.following?(target, user),
blocking: User.blocks?(user, target),
muting: User.mutes?(user, target),
- muting_notifications:
false
,
+ muting_notifications:
User.muted_notifications?(user, target)
,
subscribing: User.subscribed_to?(user, target),
requested: requested,
domain_blocking: false,
subscribing: User.subscribed_to?(user, target),
requested: requested,
domain_blocking: false,