From 0e29f1f5bb68a48d9b837d7f4e0a16370734955b Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Tue, 9 May 2023 12:16:10 +0200 Subject: [feature] Enable federation in/out of profile PropertyValue fields (#1722) Co-authored-by: kim Co-authored-by: kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com> --- internal/messages/messages.go | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'internal/messages/messages.go') diff --git a/internal/messages/messages.go b/internal/messages/messages.go index 4b80088c2..7f9b3f37c 100644 --- a/internal/messages/messages.go +++ b/internal/messages/messages.go @@ -34,9 +34,10 @@ type FromClientAPI struct { // FromFederator wraps a message that travels from the federator into the processor. type FromFederator struct { - APObjectType string // what is the object type of this message? eg., Note, Profile etc. - APActivityType string // what is the activity type of this message? eg., Create, Follow etc. - APIri *url.URL // what is the IRI ID of this activity? - GTSModel interface{} // representation of this object if it's already been converted into our internal gts model - ReceivingAccount *gtsmodel.Account // which account owns the inbox that this activity was posted to? + APObjectType string + APActivityType string + APIri *url.URL + APObjectModel interface{} // Optional AP model of the Object of the Activity. Should be Accountable or Statusable. + GTSModel interface{} // Optional GTS model of the Activity or Object. + ReceivingAccount *gtsmodel.Account // Local account which owns the inbox that this Activity was posted to. } -- cgit v1.2.3