+ account.getContactStore().storeContact(recipientId, builder.withIsBlocked(blocked).build());
+ }
+
+ public void setContactHidden(RecipientId recipientId, boolean hidden) {
+ var contact = account.getContactStore().getContact(recipientId);
+ final var builder = contact == null ? Contact.newBuilder() : Contact.newBuilder(contact);
+ account.getContactStore().storeContact(recipientId, builder.withIsHidden(hidden).build());