Commit 0d8a7744 authored by avocatier tac's avatar avocatier tac
Browse files

Revert commit on Master

parent b30657c5
Pipeline #238035 passed with stages
in 9 minutes and 47 seconds
......@@ -64,9 +64,7 @@ public class Location {
* @throws CleaEncryptionException
*/
public String newDeepLink(Instant periodStartTime, Instant qrCodeValidityStartTime) throws CleaCryptoException {
if(!this.locationSpecificPart.getPeriodStartTime().equals(periodStartTime)){
this.setPeriodStartTime(periodStartTime);
}
this.setPeriodStartTime(periodStartTime);
this.setQrCodeValidityStartTime(periodStartTime, qrCodeValidityStartTime);
return COUNTRY_SPECIFIC_PREFIX + this.getLocationSpecificPartEncryptedBase64();
}
......@@ -97,7 +95,6 @@ public class Location {
this.locationSpecificPart.setPeriodStartTime(periodStartTime);
this.locationSpecificPart.setLocationTemporarySecretKey(locationTemporarySecretKey);
this.locationSpecificPart.setLocationTemporaryPublicId(currentLocationTemporaryPublicId);
this.locationSpecificPart.setQrCodeValidityStartTime(null);
if (Objects.nonNull(this.contact)) {
this.contact.setPeriodStartTime(periodStartTime);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment