mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-28 04:25:18 +00:00
Fixed issue where giphy results weren't loading.
This commit is contained in:
parent
c7b626082c
commit
eab23a9e66
@ -30,6 +30,7 @@ public class LinkPreviewDomains {
|
|||||||
"fbcdn.net",
|
"fbcdn.net",
|
||||||
"redd.it",
|
"redd.it",
|
||||||
"imgur.com",
|
"imgur.com",
|
||||||
"pinimg.com"
|
"pinimg.com",
|
||||||
|
"giphy.com"
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
@ -29,7 +29,6 @@ public class ContentProxySelector extends ProxySelector {
|
|||||||
static {
|
static {
|
||||||
WHITELISTED_DOMAINS.addAll(LinkPreviewDomains.LINKS);
|
WHITELISTED_DOMAINS.addAll(LinkPreviewDomains.LINKS);
|
||||||
WHITELISTED_DOMAINS.addAll(LinkPreviewDomains.IMAGES);
|
WHITELISTED_DOMAINS.addAll(LinkPreviewDomains.IMAGES);
|
||||||
WHITELISTED_DOMAINS.add("giphy.com");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private final List<Proxy> CONTENT = new ArrayList<Proxy>(1) {{
|
private final List<Proxy> CONTENT = new ArrayList<Proxy>(1) {{
|
||||||
|
Loading…
Reference in New Issue
Block a user