Signal-iOS/SignalServiceKit
Max Radermacher 2ecc71dbae Fix TSGroupMember migration constraint violation
Context:
- M1, from Apr 2021: `dataMigration_populateGroupMember`
  - Inserts TSGroupMembers into the database.

- M2, from Feb 2022: `dataMigration_reindexGroupMembershipAndMigrateLegacyAvatarDataFixed`
  - Adds TSGroupMembers to the FTS index.

In the happy path, M1 would have run several months ago, before there
was any FTS support for TSGroupMember objects. Then, when FTS support
was added, M2 would index the existing group members.

In the sad path, both M1 and M2 run at the same time. In this case, M1
knows how to insert group members into the FTS index, so it does. When
M2 tries to do the same thing, it fails the UNIQUE constraint.
2022-05-17 09:12:24 -07:00
..
protobuf Add initial support for the PniIdentity sync message 2022-03-23 11:48:08 -07:00
Resources Adjust disappearing message index 2022-04-27 12:25:10 -07:00
src Fix TSGroupMember migration constraint violation 2022-05-17 09:12:24 -07:00
tests Show "0:00", not "0", for audio message playback 2022-05-06 11:43:04 -07: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'