Fix compile errors on 1.4.5
This commit is contained in:
parent
103eca482c
commit
2f291576e4
|
@ -1,5 +1,4 @@
|
||||||
defmodule Pleroma.Stats do
|
defmodule Pleroma.Stats do
|
||||||
use Agent
|
|
||||||
import Ecto.Query
|
import Ecto.Query
|
||||||
alias Pleroma.{User, Repo, Activity}
|
alias Pleroma.{User, Repo, Activity}
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,6 @@ def handle_in("new_msg", %{"text" => text}, %{assigns: %{user_name: user_name}}
|
||||||
end
|
end
|
||||||
|
|
||||||
defmodule Pleroma.Web.ChatChannel.ChatChannelState do
|
defmodule Pleroma.Web.ChatChannel.ChatChannelState do
|
||||||
use Agent
|
|
||||||
@max_messages 20
|
@max_messages 20
|
||||||
|
|
||||||
def start_link do
|
def start_link do
|
||||||
|
|
Loading…
Reference in a new issue