projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f182f0f
)
Style
author
Maxim Filippov
<colixer@gmail.com>
Fri, 30 Aug 2019 22:09:48 +0000
(
01:09
+0300)
committer
Maxim Filippov
<colixer@gmail.com>
Fri, 30 Aug 2019 22:09:48 +0000
(
01:09
+0300)
lib/pleroma/moderation_log.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/moderation_log.ex
b/lib/pleroma/moderation_log.ex
index c72a413b616bfd9ee51766f35a5ea94bbaa06a5f..89a5e13c373a54e1b77cf86e2178d720ce393a5b 100644
(file)
--- a/
lib/pleroma/moderation_log.ex
+++ b/
lib/pleroma/moderation_log.ex
@@
-248,8
+248,12
@@
defmodule Pleroma.ModerationLog do
|> insert_log_entry_with_message()
end
- @spec insert_log(%{actor: User, action: String.t(), nicknames: [String.t()], tags: [String.t()]}) ::
- {:ok, ModerationLog} | {:error, any}
+ @spec insert_log(%{
+ actor: User,
+ action: String.t(),
+ nicknames: [String.t()],
+ tags: [String.t()]
+ }) :: {:ok, ModerationLog} | {:error, any}
def insert_log(%{
actor: %User{} = actor,
nicknames: nicknames,