Remove over-zealous assert.

This commit is contained in:
Matthew Chen 2021-11-18 09:57:30 -03:00
parent 19c9625427
commit 2bcab253be

View File

@ -183,8 +183,6 @@ NSString *NSStringForUserProfileWriter(UserProfileWriter userProfileWriter)
_recipientUUID = recipientUUID;
_username = username;
[self verifyAddress];
return self;
}
@ -192,11 +190,6 @@ NSString *NSStringForUserProfileWriter(UserProfileWriter userProfileWriter)
// --- CODE GENERATION MARKER
- (void)verifyAddress
{
OWSAssertDebug(!self.address.isLocalAddress);
}
+ (NSString *)collection
{
// Legacy class name.