delete obsolete code

This commit is contained in:
Brice-W 2021-06-21 14:04:00 +10:00
parent a71273e813
commit bb7dc318c7

View File

@ -174,9 +174,6 @@ class ClosedGroupControlMessage() : ControlMessage() {
// Group context
setGroupContext(dataMessageProto)
// Expiration timer
// TODO: We * want * expiration timer updates to be explicit. But currently Android will disable the expiration timer for a conversation
// if it receives a message without the current expiration timer value attached to it...
dataMessageProto.expireTimer = Recipient.from(MessagingModuleConfiguration.shared.context, Address.fromSerialized(GroupUtil.doubleEncodeGroupID(recipient!!)), false).expireMessages
contentProto.dataMessage = dataMessageProto.build()
return contentProto.build()
} catch (e: Exception) {