From 2f291576e4eef95e6867348e24bc526058518095 Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Thu, 8 Feb 2018 16:03:30 +0100 Subject: [PATCH] Fix compile errors on 1.4.5 --- lib/pleroma/stats.ex | 1 - lib/pleroma/web/chat_channel.ex | 1 - 2 files changed, 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