mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[feature] Enable federation in/out of profile PropertyValue fields (#1722)
Co-authored-by: kim <grufwub@gmail.com> Co-authored-by: kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com>
This commit is contained in:
@@ -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.
|
||||
}
|
||||
|
Reference in New Issue
Block a user