Every single message updates a TSThread model, but only a change in a member's profile name or phone number, or a change to a group's model, can update the indexing information. Turn 'shouldBeIndexedForFTS' into a tri-state 'FTSIndexMode' with options 'never', 'manualUpdates', and 'always', and use 'manualUpdates' for TSThreads. Then explicitly reindex on any of the changes listed above. |
||
|---|---|---|
| .. | ||
| AudioFiles | ||
| Fonts | ||
| Images.xcassets | ||
| Lottie | ||
| NSE-Images.xcassets | ||
| Settings.bundle | ||
| Sounds | ||
| src | ||
| test | ||
| translations | ||
| .swiftlint.yml | ||
| iTunesArtwork@3x.png | ||
| main.m | ||
| Signal-AppStore.entitlements | ||
| Signal-Info.plist | ||
| Signal-Prefix.pch | ||
| Signal.entitlements | ||
| SignalTSan.supp | ||
| SignalUBSan.supp | ||