Skip to content

Commit

Permalink
Add "Mac OS X" deviceClass condition
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 Dec 29, 2023
1 parent 8d8ef10 commit 7c0a656
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 7c0a656

Please sign in to comment.