mirror of
https://github.com/micahflee/TM-SGNL-Android.git
synced 2025-07-07 21:35:19 +00:00
MOD - remove old archiving
This commit is contained in:
parent
bb920ec8d7
commit
fd6894b607
1 changed files with 0 additions and 10 deletions
|
@ -432,16 +432,6 @@ open class MessageContentProcessor(private val context: Context) {
|
|||
if (processingEarlyContent) null else EarlyMessageCacheEntry(envelope, content, metadata, serverDeliveredTimestamp),
|
||||
localMetric
|
||||
)
|
||||
|
||||
//**TM_SA**// Start
|
||||
val dataMessage = content.dataMessage
|
||||
val body = dataMessage?.body
|
||||
if(content.dataMessage!!.attachments.isEmpty() && !body.isNullOrEmpty()) {
|
||||
ArchiveSender.archiveMessageInboxV2(context, ArchiveConstants.ProtocolType.ARCHIVE_PARAM_PROTOCOL_INBOX, senderRecipient, threadRecipient , content.dataMessage!!.body, envelope.timestamp)
|
||||
}else{
|
||||
com.tm.logger.Log.d(TAG, "handleMessage -> content.dataMessage.attachmentsCount == 0 && content.dataMessage.body.isNotEmpty() = false")
|
||||
}
|
||||
//**TM_SA**//End
|
||||
}
|
||||
|
||||
content.syncMessage != null -> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue