|
|
@ -221,7 +221,7 @@ extension MessageReceiver {
|
|
|
|
isPreviousOff: !localConfig.isEnabled
|
|
|
|
isPreviousOff: !localConfig.isEnabled
|
|
|
|
),
|
|
|
|
),
|
|
|
|
timestampMs: protoLastChangeTimestampMs,
|
|
|
|
timestampMs: protoLastChangeTimestampMs,
|
|
|
|
expiresInSeconds: (remoteConfig.isEnabled ? nil : localConfig.durationSeconds),
|
|
|
|
expiresInSeconds: (remoteConfig.isEnabled ? remoteConfig.durationSeconds : localConfig.durationSeconds),
|
|
|
|
expiresStartedAtMs: (!remoteConfig.isEnabled && localConfig.type == .disappearAfterSend ?
|
|
|
|
expiresStartedAtMs: (!remoteConfig.isEnabled && localConfig.type == .disappearAfterSend ?
|
|
|
|
Double(protoLastChangeTimestampMs) :
|
|
|
|
Double(protoLastChangeTimestampMs) :
|
|
|
|
nil
|
|
|
|
nil
|
|
|
|