mirror of
https://github.com/owncast/owncast.git
synced 2024-10-10 19:16:02 +00:00
14 lines
481 B
Go
14 lines
481 B
Go
package configrepository
|
|
|
|
// GetFederatedInboxMap is a mapping between account names and their outbox.
|
|
func (r SqlConfigRepository) GetFederatedInboxMap() map[string]string {
|
|
return map[string]string{
|
|
r.GetDefaultFederationUsername(): r.GetDefaultFederationUsername(),
|
|
}
|
|
}
|
|
|
|
// GetDefaultFederationUsername will return the username used for sending federation activities.
|
|
func (r *SqlConfigRepository) GetDefaultFederationUsername() string {
|
|
return r.GetFederationUsername()
|
|
}
|