Commit 2f291576 authored by lain's avatar lain
Browse files

Fix compile errors on 1.4.5

parent 103eca48
Pipeline #662 passed with stage
in 3 minutes and 15 seconds
defmodule Pleroma.Stats do
use Agent
import Ecto.Query
alias Pleroma.{User, Repo, Activity}
......@@ -24,7 +24,6 @@ def handle_in("new_msg", %{"text" => text}, %{assigns: %{user_name: user_name}}
defmodule Pleroma.Web.ChatChannel.ChatChannelState do
use Agent
@max_messages 20
def start_link do
  • Contributor


  • It wasn't there in 1.4.5, although I guess this has some effects on them being in the supervision tree...

  • Contributor

    Should we just make them genservers?

  • I don't really understand how it all works, what it's doing now vs what would change if those were GenServers. If you know, change it :)

Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment