This adds a new async operation in the message send flow. MessageSender will now verify that the intended recipients of a message all have UUIDs before proceeding. If any recipients are missing a UUID, it'll kick off a CDS lookup for the invalid recipients. While this code appears to work, this is a first pass. Looking to get some inital feedback in a pull request. It's unclear to me whether or not this pattern fits in with the existing error propogation flow in MessagSender promises. It's also unclear whether or not the error I'm using is correct. Some other changes that come along for the ride: - Add a -perform() method to ContactDiscoveryService to automatically submit itself and its dependencies to its static operation queue |
||
|---|---|---|
| .. | ||
| protobuf | ||
| Resources | ||
| src | ||
| tests | ||
| Utilities | ||
| .clang-format | ||
| .gitignore | ||
| .travis.yml | ||
| CONTRIBUTING.md | ||
| LICENSE | ||
| README.md | ||
SignalServiceKit
SignalServiceKit is an Objective-C library for communicating with the Signal messaging service for iOS & OS X
To use SignalServiceKit via CocoaPods add the following to your Podfile
pod 'SignalServiceKit', git: 'https://github.com/signalapp/Signal-iOS.git'