Fix bad sync of default timer to linked devices.

fork-5.53.8
Cody Henthorne 2021-06-03 15:16:16 -04:00
rodzic 262b4e7d62
commit 3a21a2a49e
2 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -128,6 +128,7 @@ public final class StorageSyncHelper {
.setPreferContactAvatars(SignalStore.settings().isPreferSystemContactPhotos())
.setPayments(SignalStore.paymentsValues().mobileCoinPaymentsEnabled(), Optional.fromNullable(SignalStore.paymentsValues().getPaymentsEntropy()).transform(Entropy::getBytes).orNull())
.setPrimarySendsSms(Util.isDefaultSmsProvider(context))
.setUniversalExpireTimer(SignalStore.settings().getUniversalExpireTimer())
.build();
return SignalStorageRecord.forAccount(account);

Wyświetl plik

@ -81,7 +81,7 @@ public final class FeatureFlags {
private static final String MP4_GIF_SEND_SUPPORT = "android.mp4GifSendSupport";
private static final String MEDIA_QUALITY_LEVELS = "android.mediaQuality.levels";
private static final String GROUPS_V2_DESCRIPTION_VERSION = "android.groupsv2.descriptionVersion";
private static final String DEFAULT_MESSAGE_TIMER = "android.defaultMessageTimer";
private static final String DEFAULT_MESSAGE_TIMER = "android.defaultMessageTimer.2";
/**
* We will only store remote values for flags in this set. If you want a flag to be controllable