Clean up ahead of PR.
This commit is contained in:
parent
0ca1b2e028
commit
6f2fd3fd52
@ -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()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user