Use one build number across phone, Mac and Status
This commit is contained in:
@@ -200,7 +200,7 @@ func (s *Server) identify(next http.Handler) http.Handler {
|
||||
}
|
||||
|
||||
func (s *Server) acted(login string, r *http.Request) {
|
||||
if s.clients.Acted(r.Header.Get("Byre-Client"), login, r.Header.Get("Byre-Host"), r.Header.Get("Byre-Commit")) {
|
||||
if s.clients.Acted(r.Header.Get("Byre-Client"), login, r.Header.Get("Byre-Host"), r.Header.Get("Byre-Commit"), r.Header.Get("Byre-Build")) {
|
||||
s.clientsChanged()
|
||||
}
|
||||
}
|
||||
@@ -214,6 +214,7 @@ func (s *Server) connectedClients() []api.ConnectedClient {
|
||||
Host: c.Host,
|
||||
Device: c.Device,
|
||||
Commit: c.Commit,
|
||||
Build: c.Build,
|
||||
ConnectedAt: c.ConnectedAt,
|
||||
LastActionAt: c.LastActionAt,
|
||||
Sync: c.Sync,
|
||||
|
||||
Reference in New Issue
Block a user