Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pleroma
pleroma
Commits
cae02317
Verified
Commit
cae02317
authored
Apr 10, 2019
by
Haelwenn
Browse files
s/Pleroma.AdminEmail/Pleroma.Emails.AdminEmail/
parent
1791ee8e
Changes
2
Hide whitespace changes
Inline
Side-by-side
lib/pleroma/emails/admin_email.ex
View file @
cae02317
...
...
@@ -2,7 +2,7 @@
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule
Pleroma
.
AdminEmail
do
defmodule
Pleroma
.
Emails
.
AdminEmail
do
@moduledoc
"Admin emails"
import
Swoosh
.
Email
...
...
lib/pleroma/web/activity_pub/activity_pub.ex
View file @
cae02317
...
...
@@ -449,7 +449,7 @@ def flag(
:ok
<-
maybe_federate
(
activity
)
do
Enum
.
each
(
User
.
all_superusers
(),
fn
superuser
->
superuser
|>
Pleroma
.
AdminEmail
.
report
(
actor
,
account
,
statuses
,
content
)
|>
Pleroma
.
Emails
.
AdminEmail
.
report
(
actor
,
account
,
statuses
,
content
)
|>
Pleroma
.
Emails
.
Mailer
.
deliver_async
()
end
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment