|
|
@ -7,6 +7,7 @@
|
|
|
|
#import "Cryptography.h"
|
|
|
|
#import "Cryptography.h"
|
|
|
|
#import "MIMETypeUtil.h"
|
|
|
|
#import "MIMETypeUtil.h"
|
|
|
|
#import "NSData+keyVersionByte.h"
|
|
|
|
#import "NSData+keyVersionByte.h"
|
|
|
|
|
|
|
|
#import "OWSBlockingManager.h"
|
|
|
|
#import "OWSDisappearingMessagesConfiguration.h"
|
|
|
|
#import "OWSDisappearingMessagesConfiguration.h"
|
|
|
|
#import "OWSRecipientIdentity.h"
|
|
|
|
#import "OWSRecipientIdentity.h"
|
|
|
|
#import "OWSSignalServiceProtos.pb.h"
|
|
|
|
#import "OWSSignalServiceProtos.pb.h"
|
|
|
@ -63,6 +64,10 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if ([OWSBlockingManager.sharedManager isRecipientIdBlocked:signalAccount.recipientId]) {
|
|
|
|
|
|
|
|
[contactBuilder setBlocked:YES];
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
NSData *contactData = [[contactBuilder build] data];
|
|
|
|
NSData *contactData = [[contactBuilder build] data];
|
|
|
|
|
|
|
|
|
|
|
|
uint32_t contactDataLength = (uint32_t)contactData.length;
|
|
|
|
uint32_t contactDataLength = (uint32_t)contactData.length;
|
|
|
|