forked from MirrorHub/mautrix-whatsapp
Forgot two ID uppercasings
Co-authored-by: Tulir Asokan <tulir@maunium.net>
This commit is contained in:
parent
fa0a69d746
commit
8d4c8afef8
2 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ type Config struct {
|
|||
*bridgeconfig.BaseConfig `yaml:",inline"`
|
||||
|
||||
SegmentKey string `yaml:"segment_key"`
|
||||
SegmentUserId string `yaml:"segment_user_id"`
|
||||
SegmentUserID string `yaml:"segment_user_id"`
|
||||
|
||||
Metrics struct {
|
||||
Enabled bool `yaml:"enabled"`
|
||||
|
|
2
main.go
2
main.go
|
@ -93,7 +93,7 @@ func (br *WABridge) Init() {
|
|||
|
||||
Segment.log = br.Log.Sub("Segment")
|
||||
Segment.key = br.Config.SegmentKey
|
||||
Segment.userID = br.Config.SegmentUserId
|
||||
Segment.userID = br.Config.SegmentUserID
|
||||
if Segment.IsEnabled() {
|
||||
Segment.log.Infoln("Segment metrics are enabled")
|
||||
if Segment.userID != "" {
|
||||
|
|
Loading…
Reference in a new issue