session-android/src/org/thoughtcrime/securesms/linkpreview/LinkPreviewDomains.java

36 lines
790 B
Java
Raw Normal View History

2019-01-15 08:41:05 +00:00
package org.thoughtcrime.securesms.linkpreview;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;
public class LinkPreviewDomains {
public static final Set<String> LINKS = new HashSet<>(Arrays.asList(
"youtube.com",
"www.youtube.com",
"m.youtube.com",
"youtu.be",
"reddit.com",
"www.reddit.com",
"m.reddit.com",
"imgur.com",
"www.imgur.com",
"m.imgur.com",
"instagram.com",
"www.instagram.com",
"m.instagram.com",
"pinterest.com",
"www.pinterest.com",
"pin.it"
2019-01-15 08:41:05 +00:00
));
public static final Set<String> IMAGES = new HashSet<>(Arrays.asList(
"ytimg.com",
"cdninstagram.com",
"fbcdn.net",
2019-01-15 08:41:05 +00:00
"redd.it",
"imgur.com",
"pinimg.com"
2019-01-15 08:41:05 +00:00
));
}