mirror of
https://github.com/aljazceru/signal-cli.git
synced 2026-01-30 11:04:21 +01:00
Add exportObject helper method
This commit is contained in:
@@ -97,7 +97,7 @@ public class StorageHelper {
|
||||
(contact == null || !contact.isBlocked()) && contactRecord.isBlocked()
|
||||
)) {
|
||||
final var newContact = (contact == null ? Contact.newBuilder() : Contact.newBuilder(contact)).withBlocked(
|
||||
contactRecord.isBlocked())
|
||||
contactRecord.isBlocked())
|
||||
.withName((contactRecord.getGivenName().or("") + " " + contactRecord.getFamilyName().or("")).trim())
|
||||
.build();
|
||||
account.getContactStore().storeContact(recipientId, newContact);
|
||||
|
||||
Reference in New Issue
Block a user