mirror of
https://github.com/oxen-io/session-android.git
synced 2025-02-17 12:28:24 +00:00
Retrieve expiry config from UpdateMessage for GroupsV1
This commit is contained in:
parent
848dbd2eb0
commit
43745ce995
@ -158,7 +158,10 @@ fun MessageReceiver.cancelTypingIndicatorsIfNeeded(senderPublicKey: String) {
|
||||
private fun MessageReceiver.handleExpirationTimerUpdate(message: ExpirationTimerUpdate) {
|
||||
SSKEnvironment.shared.messageExpirationManager.insertExpirationTimerMessage(message)
|
||||
|
||||
if (isNewConfigEnabled) return
|
||||
// TODO (Groups V2 - FIXME)
|
||||
val isGroupV1 = message.groupPublicKey != null
|
||||
|
||||
if (isNewConfigEnabled && !isGroupV1) return
|
||||
|
||||
val module = MessagingModuleConfiguration.shared
|
||||
try {
|
||||
|
Loading…
x
Reference in New Issue
Block a user