diff options
author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2019-03-05 04:18:43 +0100 |
---|---|---|
committer | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2019-03-13 04:26:56 +0100 |
commit | fb82f6fc7c5453e34e619c54a88e64e99deb58b4 (patch) | |
tree | bae82a47b6b477288e63e509f15bd2568835065c /lib/pleroma/web/chat_channel.ex | |
parent | a3a9cec4835738216800d2cebd295fb8dbf10f34 (diff) | |
download | pleroma-fb82f6fc7c5453e34e619c54a88e64e99deb58b4.tar.gz |
[Credo] Remove parentesis on argument-less functions
Diffstat (limited to 'lib/pleroma/web/chat_channel.ex')
-rw-r--r-- | lib/pleroma/web/chat_channel.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/chat_channel.ex b/lib/pleroma/web/chat_channel.ex index efdbba5a1..f63f4bda1 100644 --- a/lib/pleroma/web/chat_channel.ex +++ b/lib/pleroma/web/chat_channel.ex @@ -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 |