Remove unneeded todo

Bulk profile fetching is pretty complicated. It
already limits its impact by throttling the rate
at which it makes requests. I don't think it's
worth trying to make it do batch operations at
this time, so I'm removing this TODO.

This stacks on top of PR #4068
This commit is contained in:
George Nachman 2022-03-11 13:50:23 -08:00 committed by Michelle Linington
parent 1db0a3576a
commit 01dcfef87e

View File

@ -1005,7 +1005,6 @@ extension OWSContactsManager {
return CommonFormats.formatUsername(username)
}
}.refine { addresses in
// TODO: Combine these db queries into one.
return addresses.lazy.map {
self.fetchProfile(forUnknownAddress: $0)
return self.unknownUserLabel