mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-26 22:20:20 +00:00
Do not include identity message from self in backup.
This commit is contained in:
committed by
Greyson Parrelli
parent
d8848a2a80
commit
e969661699
@@ -161,14 +161,17 @@ class ChatItemArchiveExporter(
|
||||
}
|
||||
|
||||
MessageTypes.isIdentityUpdate(record.type) -> {
|
||||
if (record.fromRecipientId == selfRecipientId.toLong()) continue
|
||||
builder.updateMessage = simpleUpdate(SimpleChatUpdate.Type.IDENTITY_UPDATE)
|
||||
}
|
||||
|
||||
MessageTypes.isIdentityVerified(record.type) -> {
|
||||
if (record.fromRecipientId == selfRecipientId.toLong()) continue
|
||||
builder.updateMessage = simpleUpdate(SimpleChatUpdate.Type.IDENTITY_VERIFIED)
|
||||
}
|
||||
|
||||
MessageTypes.isIdentityDefault(record.type) -> {
|
||||
if (record.fromRecipientId == selfRecipientId.toLong()) continue
|
||||
builder.updateMessage = simpleUpdate(SimpleChatUpdate.Type.IDENTITY_DEFAULT)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user