Skip to content

Commit

Permalink
[bugfix] Use Host domain for UA (#1156)
Browse files Browse the repository at this point in the history
In d6f4d19 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.
  • Loading branch information
daenney committed Nov 27, 2022
1 parent c5ae88c commit c534230
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/transport/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ type controller struct {
// 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 {
applicationName := config.GetApplicationName()
host := config.GetAccountDomain()
host := config.GetHost()
proto := config.GetProtocol()
version := config.GetSoftwareVersion()

Expand Down

0 comments on commit c534230

Please sign in to comment.