Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Commit

Permalink
Always track disconnection on shutdown
Browse files Browse the repository at this point in the history
instead of only when logged out
  • Loading branch information
AndrewFerr committed Feb 22, 2024
1 parent 442228f commit 726e6ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user.go
Original file line number Diff line number Diff line change
Expand Up @@ -503,8 +503,8 @@ func (user *User) startupTryConnect(retryCount int) {
} else {
user.log.Debug().Msg("Clean Shutdown, but logged out - Sending BadCredentials BridgeState")
user.BridgeState.Send(status.BridgeState{StateEvent: status.StateBadCredentials, Message: "You have been logged out of Signal, please reconnect"})
user.bridge.Metrics.TrackConnectionState(user.SignalID, false)
}
user.bridge.Metrics.TrackConnectionState(user.SignalID, false)
}
}
}()
Expand Down

0 comments on commit 726e6ef

Please sign in to comment.