Signal-iOS/SignalServiceKit
Jordan Rose ce9da716e6
MediaGallery: Correctly respond to external deletion
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.
2022-05-31 10:55:31 -07:00
..
protobuf Add GiftBadge to SignalService.proto 2022-05-27 13:32:09 -07:00
Resources Add giftBadge property to messages 2022-05-27 12:31:24 -07:00
src MediaGallery: Correctly respond to external deletion 2022-05-31 10:55:31 -07:00
tests Make "Keep Muted Chats Archived" option available publicly 2022-05-26 10:44:43 -04:00
Utilities More Python 3 script fixes 2022-03-24 10:28:27 -05:00
.clang-format Update clang-format with AllowShortEnumsOnASingleLine: false 2022-03-14 11:20:20 -07:00
.gitignore
.travis.yml
CONTRIBUTING.md Change references from master to main 2022-05-02 10:30:40 -05:00
LICENSE
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'