From bee85caa148ca92b333e2100a329c570dfd03a28 Mon Sep 17 00:00:00 2001 From: Mikunj Date: Mon, 6 May 2019 16:14:51 +1000 Subject: [PATCH] Improved naming. --- SignalServiceKit/src/Messages/OWSMessageSender.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SignalServiceKit/src/Messages/OWSMessageSender.m b/SignalServiceKit/src/Messages/OWSMessageSender.m index b67259ee0..f3e4d14ad 100644 --- a/SignalServiceKit/src/Messages/OWSMessageSender.m +++ b/SignalServiceKit/src/Messages/OWSMessageSender.m @@ -1127,7 +1127,7 @@ NSString *const OWSMessageSenderRateLimitedException = @"RateLimitedException"; } // 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 NSNumber *ttl = [NSNumber numberWithInteger:@(4 * 24 * 60 * 60)]; @@ -1206,7 +1206,7 @@ NSString *const OWSMessageSenderRateLimitedException = @"RateLimitedException"; }) retainUntilComplete]; } -- (void)calculatingProofOfWorkFor:(OWSMessageSend *)messageSend +- (void)calculatingProofOfWorkForMessage:(OWSMessageSend *)messageSend { OWSAssertDebug(messageSend); dispatch_async([OWSDispatch sendingQueue], ^{