Merge branch 'fix-link-previews' into dev

pull/223/head
nielsandriesse 5 years ago
commit 7149deb15f

@ -627,7 +627,8 @@ public class OWSLinkPreview: MTLModel {
Logger.verbose("url: \(urlString)")
let sessionConfiguration = ContentProxy.sessionConfiguration()
// let sessionConfiguration = ContentProxy.sessionConfiguration() // Loki: Signal's proxy appears to have been banned by YouTube
let sessionConfiguration = URLSessionConfiguration.ephemeral
// Don't use any caching to protect privacy of these requests.
sessionConfiguration.requestCachePolicy = .reloadIgnoringLocalCacheData

Loading…
Cancel
Save