mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 10:30:38 +00:00
Read configurations from storage
This commit is contained in:
parent
8b83992e95
commit
76ceac4d54
1 changed files with 6 additions and 0 deletions
|
@ -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()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue