aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2018-02-08 16:03:30 +0100
committerRoger Braun <roger@rogerbraun.net>2018-02-08 16:03:30 +0100
commit2f291576e4eef95e6867348e24bc526058518095 (patch)
treed9337ea962c393d51425179dbf2cc152e5d180fa /lib
parent103eca482cc00170f0943f00b36d9ef5771397e0 (diff)
downloadpleroma-2f291576e4eef95e6867348e24bc526058518095.tar.gz
Fix compile errors on 1.4.5
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/stats.ex1
-rw-r--r--lib/pleroma/web/chat_channel.ex1
2 files changed, 0 insertions, 2 deletions
diff --git a/lib/pleroma/stats.ex b/lib/pleroma/stats.ex
index 0484f1a2d..737e9b62e 100644
--- a/lib/pleroma/stats.ex
+++ b/lib/pleroma/stats.ex
@@ -1,5 +1,4 @@
defmodule Pleroma.Stats do
- use Agent
import Ecto.Query
alias Pleroma.{User, Repo, Activity}
diff --git a/lib/pleroma/web/chat_channel.ex b/lib/pleroma/web/chat_channel.ex
index 268bef17d..48a3553bf 100644
--- a/lib/pleroma/web/chat_channel.ex
+++ b/lib/pleroma/web/chat_channel.ex
@@ -24,7 +24,6 @@ defmodule Pleroma.Web.ChatChannel do
end
defmodule Pleroma.Web.ChatChannel.ChatChannelState do
- use Agent
@max_messages 20
def start_link do