[bugfix] Use Host domain for UA (#1156)

In d6f4d196c9 we swapped to use the
AccountDomain but that actually goes against the intent of the change.
This reverts that change and uses the host domain again.
This commit is contained in:
Daniele Sluijters 2022-11-27 01:09:09 +01:00 committed by GitHub
parent c5ae88c51b
commit c534230600
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ type controller struct {
// NewController returns an implementation of the Controller interface for creating new transports // NewController returns an implementation of the Controller interface for creating new transports
func NewController(db db.DB, federatingDB federatingdb.DB, clock pub.Clock, client pub.HttpClient) Controller { func NewController(db db.DB, federatingDB federatingdb.DB, clock pub.Clock, client pub.HttpClient) Controller {
applicationName := config.GetApplicationName() applicationName := config.GetApplicationName()
host := config.GetAccountDomain() host := config.GetHost()
proto := config.GetProtocol() proto := config.GetProtocol()
version := config.GetSoftwareVersion() version := config.GetSoftwareVersion()