Improved naming.

pull/7/head
Mikunj 6 years ago
parent f8cccd8967
commit bee85caa14

@ -1127,7 +1127,7 @@ NSString *const OWSMessageSenderRateLimitedException = @"RateLimitedException";
} }
// Update the state to show that proof of work is being calculated // Update the state to show that proof of work is being calculated
[self calculatingProofOfWorkFor:messageSend]; [self calculatingProofOfWorkForMessage:messageSend];
// Loki: Calculate the proof of work for each device message // Loki: Calculate the proof of work for each device message
NSNumber *ttl = [NSNumber numberWithInteger:@(4 * 24 * 60 * 60)]; NSNumber *ttl = [NSNumber numberWithInteger:@(4 * 24 * 60 * 60)];
@ -1206,7 +1206,7 @@ NSString *const OWSMessageSenderRateLimitedException = @"RateLimitedException";
}) retainUntilComplete]; }) retainUntilComplete];
} }
- (void)calculatingProofOfWorkFor:(OWSMessageSend *)messageSend - (void)calculatingProofOfWorkForMessage:(OWSMessageSend *)messageSend
{ {
OWSAssertDebug(messageSend); OWSAssertDebug(messageSend);
dispatch_async([OWSDispatch sendingQueue], ^{ dispatch_async([OWSDispatch sendingQueue], ^{

Loading…
Cancel
Save