comment cleanup / code formatting

// FREEBIE
pull/1/head
Michael Kirk 8 years ago
parent 6cde79c568
commit 0feb966a1c

@ -5,6 +5,10 @@
import Foundation import Foundation
import PromiseKit import PromiseKit
/**
* Transmits our profile key to any linked devices.
* This is accomplished via the existing contact syncing mechanism, except the only contact synced is ourself.
*/
@objc class MultiDeviceProfileKeyUpdateJob: NSObject { @objc class MultiDeviceProfileKeyUpdateJob: NSObject {
let TAG = "[MultiDeviceProfileKeyUpdateJob]" let TAG = "[MultiDeviceProfileKeyUpdateJob]"
@ -43,7 +47,6 @@ import PromiseKit
in: syncContactsMessage, in: syncContactsMessage,
success: { success: {
Logger.info("\(self.TAG) Successfully synced profile key") Logger.info("\(self.TAG) Successfully synced profile key")
}, },
failure: { error in failure: { error in
Logger.error("\(self.TAG) in \(#function) failed with error: \(error) retrying in \(retryDelay)s.") Logger.error("\(self.TAG) in \(#function) failed with error: \(error) retrying in \(retryDelay)s.")

@ -587,7 +587,6 @@ NS_ASSUME_NONNULL_BEGIN
- (id<ProfileManagerProtocol>)profileManager - (id<ProfileManagerProtocol>)profileManager
{ {
// TODO inject at init?
return [TextSecureKitEnv sharedEnv].profileManager; return [TextSecureKitEnv sharedEnv].profileManager;
} }

Loading…
Cancel
Save