MessageQueue.Key hides the PersistentQueue.Key struct but in
func queuedMessageIds() -> [String]
we do access the "object" element. I am not sure how this works in Xcode 11.1, but it seems a bug.
This PR adds the full qualifying name, "PersistentQueue.Key.object"
(this solves an error when building with Xcode 11.5).
I think the best solution would be to encapsulate the access to the "PersistentQueue.Key.object" inside PersistentQueue itself, but that change might be more impactful.
The master branch has been discontinued. For any question, suggestion or bug report please contact Proton’s customer support in the following link: https://proton.me/support/contact.
MessageQueue.Key hides the PersistentQueue.Key struct but in
func queuedMessageIds() -> [String]
we do access the "object" element. I am not sure how this works in Xcode 11.1, but it seems a bug. This PR adds the full qualifying name, "PersistentQueue.Key.object" (this solves an error when building with Xcode 11.5).
I think the best solution would be to encapsulate the access to the "PersistentQueue.Key.object" inside PersistentQueue itself, but that change might be more impactful.
Test plan:
Built it successfully in Xcode 11.1 and 11.5