Update link preview user agent.

This commit is contained in:
Greyson Parrelli
2021-01-11 11:47:56 -05:00
committed by Alan Evans
parent 9ce3813044
commit 8f4d64d37a

View File

@@ -77,7 +77,7 @@ public class LinkPreviewRepository {
public LinkPreviewRepository() {
this.client = new OkHttpClient.Builder()
.cache(null)
.addInterceptor(new UserAgentInterceptor("WhatsApp"))
.addInterceptor(new UserAgentInterceptor("WhatsApp/2"))
.build();
}