Do not include identity message from self in backup.
This commit is contained in:
parent
d8848a2a80
commit
e969661699
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue