activitypub.go 481 B

12345678910111213
  1. package configrepository
  2. // GetFederatedInboxMap is a mapping between account names and their outbox.
  3. func (r SqlConfigRepository) GetFederatedInboxMap() map[string]string {
  4. return map[string]string{
  5. r.GetDefaultFederationUsername(): r.GetDefaultFederationUsername(),
  6. }
  7. }
  8. // GetDefaultFederationUsername will return the username used for sending federation activities.
  9. func (r *SqlConfigRepository) GetDefaultFederationUsername() string {
  10. return r.GetFederationUsername()
  11. }