Updated the configuration message to sync the blocked state correctly

This commit is contained in:
Morgan Pretty 2022-03-17 14:17:33 +11:00
parent d3e9fff893
commit d4c0acb2a7

View file

@ -82,7 +82,7 @@ extension ConfigurationMessage {
hasIsApproved: true, hasIsApproved: true,
isApproved: contact.isApproved, isApproved: contact.isApproved,
hasIsBlocked: true, hasIsBlocked: true,
isBlocked: contact.isBlocked, isBlocked: SSKEnvironment.shared.blockingManager.isRecipientIdBlocked(contact.sessionID),
hasDidApproveMe: true, hasDidApproveMe: true,
didApproveMe: contact.didApproveMe didApproveMe: contact.didApproveMe
) )