X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=lib%2Fpleroma%2Factivity.ex;h=c3cea8d2a2a24284a03e9d8dd15aaec7a245e11a;hb=0883a706dc376fdfb7de9df1366803e87c8e7c98;hp=da1be20b30c2717a1d6315fbb485332164a0994e;hpb=7aa6c82937090ca6f2298dee0ef894954ca2f129;p=akkoma diff --git a/lib/pleroma/activity.ex b/lib/pleroma/activity.ex index da1be20b3..c3cea8d2a 100644 --- a/lib/pleroma/activity.ex +++ b/lib/pleroma/activity.ex @@ -31,6 +31,10 @@ defmodule Pleroma.Activity do field(:recipients, {:array, :string}, default: []) field(:thread_muted?, :boolean, virtual: true) + # A field that can be used if you need to join some kind of other + # id to order / paginate this field by + field(:pagination_id, :string, virtual: true) + # This is a fake relation, # do not use outside of with_preloaded_user_actor/with_joined_user_actor has_one(:user_actor, User, on_delete: :nothing, foreign_key: :id)