mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 10:30:38 +00:00
Add exportObject helper method
This commit is contained in:
parent
8a216e3245
commit
82bb4f22f0
2 changed files with 16 additions and 21 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue