Skip to content

Commit

Permalink
Add "Mac OS X" deviceClass condition (#11)
Browse files Browse the repository at this point in the history
- this properly addresses the issue first addressed in beeper/mac-registration-provider#11 when using macOS devices prior to Big Sur
  • Loading branch information
jetfir3 authored Jan 9, 2024
1 parent 335f8fb commit 6076fe7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imessage/direct/albert/activationinfo.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func NewActivationInfo(privateKey *rsa.PrivateKey, versions ids.Versions) (*Acti
certPEM := pem.EncodeToMemory(&pem.Block{Type: "CERTIFICATE REQUEST", Bytes: csr})

deviceClass := versions.SoftwareName
if deviceClass == "macOS" {
if deviceClass == "macOS" || deviceClass == "Mac OS X" {
deviceClass = "MacOS"
}
udid := versions.UniqueDeviceID
Expand Down

0 comments on commit 6076fe7

Please sign in to comment.