mirror of
https://github.com/owncast/owncast.git
synced 2024-11-21 20:28:15 +03: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()
|
||
|
}
|