mirror of
https://github.com/AsamK/signal-cli.git
synced 2026-11-29 08:55:48 +00:00
1 parent
5795d43d0d
commit
5f3f6c071b
6 files changed
+41
-6
No files matched your search
@@ -156,7 +156,7 @@ public class SyncHelper {
|
||||
|
||||
try {
|
||||
try (OutputStream fos = new FileOutputStream(contactsFile)) {
|
||||
var out = new DeviceContactsOutputStream(fos, false, true);
|
||||
var out = new DeviceContactsOutputStream(fos, true, true);
|
||||
for (var contactPair : account.getContactStore().getContacts()) {
|
||||
final var recipientId = contactPair.first();
|
||||
final var contact = contactPair.second();
|
||||
|
||||
@@ -329,7 +329,7 @@ public class SignalDependencies {
|
||||
executor,
|
||||
ServiceConfig.MAX_ENVELOPE_SIZE,
|
||||
() -> true,
|
||||
false,
|
||||
true,
|
||||
true));
|
||||
}
|
||||
|
||||
|
||||
@@ -100,7 +100,7 @@ public final class StorageSyncModels {
|
||||
: ByteString.of(recipient.getProfileKey().serialize()));
|
||||
if (useBinaryId) {
|
||||
builder.aciBinary(address.aci().map(ACI::toByteString).orElse(ByteString.EMPTY))
|
||||
.pniBinary(address.pni().map(PNI::toByteString).orElse(ByteString.EMPTY));
|
||||
.pniBinary(address.pni().map(PNI::toByteStringWithoutPrefix).orElse(ByteString.EMPTY));
|
||||
}
|
||||
if (useStringId) {
|
||||
builder.aci(address.aci().map(ACI::toString).orElse(""))
|
||||
|
||||
Reference in new issue
Block a user