Clean up ahead of PR.

This commit is contained in:
Matthew Chen 2019-11-14 13:11:13 -03:00
parent 0ca1b2e028
commit 6f2fd3fd52

View File

@ -93,9 +93,9 @@ public class ProfileFetcherJob: NSObject {
@objc
public class func updateProfile(username: String,
success: @escaping (_ address: SignalServiceAddress) -> Void,
notFound: @escaping () -> Void,
failure: @escaping (_ error: Error?) -> Void) {
success: @escaping (_ address: SignalServiceAddress) -> Void,
notFound: @escaping () -> Void,
failure: @escaping (_ error: Error?) -> Void) {
let subject = ProfileRequestSubject.username(username: username)
let options = ProfileFetchOptions(ignoreThrottling: true)
ProfileFetcherJob(subject: subject, options: options).runAsPromise()