logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma

ostatus_mock.ex (290B)


      1 # Pleroma: A lightweight social networking server
      2 # Copyright © 2017-2018 Pleroma Authors <https://pleroma.social/>
      3 # SPDX-License-Identifier: AGPL-3.0-only
      4 
      5 defmodule Pleroma.Web.OStatusMock do
      6   import Pleroma.Factory
      7 
      8   def handle_incoming(_doc) do
      9     insert(:note_activity)
     10   end
     11 end