Always set the read receipts setting during provisioning if available

This commit is contained in:
AsamK 2026-07-31 13:08:13 +02:00
parent de5daf0ad4
commit 86ad7bf53f

View File

@ -216,8 +216,8 @@ public class ProvisioningManagerImpl implements ProvisioningManager, Closeable {
accountEntropyPool,
mediaRootBackupKey);
if (Boolean.TRUE.equals(msg.readReceipts)) {
account.getConfigurationStore().setReadReceipts(true);
if (msg.readReceipts != null) {
account.getConfigurationStore().setReadReceipts(msg.readReceipts);
}
final var aciPreKeys = generatePreKeysForType(account.getAccountData(ServiceIdType.ACI));