This removes DatabaseChanges.deletedAttachmentIds and replaces it with a notification that carries more information: the attachment's thread and original message received-at timestamp in addition to the unique ID. With this information, we can correctly refresh the parts of MediaGallery that may be affected by the deletion. (The previous implementation was correct for the original version of MediaGallery, but not the rewritten version I implemented last year. My apologies to all users seeing crashes here!) In the new model, deletions from outside of MediaGallery's control result in reloads of the sections containing the items in question. This may result in refetching other media that was previously loaded, but avoids the issue in the previous implementation where existing loaded items would now be at the wrong offsets. |
||
|---|---|---|
| .. | ||
| 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'