From: Roger Braun Date: Thu, 8 Feb 2018 15:03:30 +0000 (+0100) Subject: Fix compile errors on 1.4.5 X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=2f291576e4eef95e6867348e24bc526058518095;p=akkoma Fix compile errors on 1.4.5 --- 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