Read configurations from storage

This commit is contained in:
AsamK 2021-10-03 13:14:43 +02:00
parent 8b83992e95
commit 76ceac4d54

View file

@ -188,6 +188,12 @@ public class StorageHelper {
return;
}
account.getConfigurationStore().setReadReceipts(accountRecord.isReadReceiptsEnabled());
account.getConfigurationStore().setTypingIndicators(accountRecord.isTypingIndicatorsEnabled());
account.getConfigurationStore()
.setUnidentifiedDeliveryIndicators(accountRecord.isSealedSenderIndicatorsEnabled());
account.getConfigurationStore().setLinkPreviews(accountRecord.isLinkPreviewsEnabled());
if (accountRecord.getProfileKey().isPresent()) {
try {
account.setProfileKey(new ProfileKey(accountRecord.getProfileKey().get()));