[Credo] Remove parentesis on argument-less functions
This commit is contained in:
parent
a3a9cec483
commit
fb82f6fc7c
19 changed files with 40 additions and 40 deletions
|
|
@ -48,7 +48,7 @@ defmodule Pleroma.Web.ChatChannel.ChatChannelState do
|
|||
end)
|
||||
end
|
||||
|
||||
def messages() do
|
||||
def messages do
|
||||
Agent.get(__MODULE__, fn state -> state[:messages] |> Enum.reverse() end)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue