mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-25 05:27:42 +00:00
Ensure new storage id is synchronized to recipient.
This commit is contained in:
@@ -444,6 +444,9 @@ class DistributionListDatabase constructor(context: Context?, databaseHelper: Si
|
||||
return
|
||||
}
|
||||
|
||||
val recipientId = getRecipientId(distributionListId)!!
|
||||
SignalDatabase.recipients.updateStorageId(recipientId, update.new.id.raw)
|
||||
|
||||
if (update.new.deletedAtTimestamp > 0L) {
|
||||
if (distributionId.asUuid().equals(DistributionId.MY_STORY.asUuid())) {
|
||||
Log.w(TAG, "Refusing to delete My Story.")
|
||||
|
||||
Reference in New Issue
Block a user