auth_controller.ex: Add admin scope to MastoFE
[akkoma] / lib / pleroma / conversation / participation_recipient_ship.ex
index 27c0c89cd94b8dd6a8fe4fe8bd28d860e98c6a1f..e3d158cbc0f97198b04be14d0f85c3b08508651d 100644 (file)
@@ -6,13 +6,13 @@ defmodule Pleroma.Conversation.Participation.RecipientShip do
   use Ecto.Schema
 
   alias Pleroma.Conversation.Participation
-  alias Pleroma.User
   alias Pleroma.Repo
+  alias Pleroma.User
 
   import Ecto.Changeset
 
   schema "conversation_participation_recipient_ships" do
-    belongs_to(:user, User, type: Pleroma.FlakeId)
+    belongs_to(:user, User, type: FlakeId.Ecto.CompatType)
     belongs_to(:participation, Participation)
   end