Signal-iOS/SignalServiceKit
Jordan Rose 3b90f1b761 MediaGallery: Filter recently-deleted items from database queries
And rewrite and simplify the rest of deletion logic appropriately.
(Thanks to Nora for the strategy.)

There is one tough case here: database updates have happened
/externally/ (say, from a disappearing message expiring), in which
case the database will be updated but the MediaGallery model will not.
In this case we've broken the invariant that we have the correct count
for each month-section, and need to put a hold on database access
until the model has been updated. The only effect of this is in the
page-based media VC, where we'll exit out of the browser rather than
advancing to the next item if the item we were looking at was deleted
/and/ the next item hasn't been loaded yet. (This can happen if you're
at the start of a message with many items and the whole message gets
deleted.)
2021-03-04 10:30:54 -08:00
..
protobuf Set the proto address during initialization 2021-02-16 13:05:13 -08:00
Resources Refine handling of unverified safety number changes. 2021-01-21 22:31:08 -03:00
src MediaGallery: Filter recently-deleted items from database queries 2021-03-04 10:30:54 -08:00
tests Fix tests 2021-02-23 10:45:50 -08:00
Utilities Convert to just using CocoaPods for dependencies 2020-01-02 12:03:57 -08:00
.clang-format Import SSK (and history) into Signal-iOS 2017-07-21 13:55:01 -04:00
.gitignore Import SSK (and history) into Signal-iOS 2017-07-21 13:55:01 -04:00
.travis.yml Import SSK (and history) into Signal-iOS 2017-07-21 13:55:01 -04:00
CONTRIBUTING.md Update to the new GitHub organization name 2018-02-13 10:52:07 -05:00
LICENSE Import SSK (and history) into Signal-iOS 2017-07-21 13:55:01 -04:00
README.md Convert to just using CocoaPods for dependencies 2020-01-02 12:03:57 -08:00

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'