mirror of
https://github.com/aljazceru/signal-cli.git
synced 2026-01-09 17:04:24 +01:00
Read configurations from storage
This commit is contained in:
@@ -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()));
|
||||
|
||||
Reference in New Issue
Block a user