mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-26 06:23:17 +00:00
Update link preview user agent.
This commit is contained in:

committed by
Alan Evans

parent
9ce3813044
commit
8f4d64d37a
@@ -77,7 +77,7 @@ public class LinkPreviewRepository {
|
|||||||
public LinkPreviewRepository() {
|
public LinkPreviewRepository() {
|
||||||
this.client = new OkHttpClient.Builder()
|
this.client = new OkHttpClient.Builder()
|
||||||
.cache(null)
|
.cache(null)
|
||||||
.addInterceptor(new UserAgentInterceptor("WhatsApp"))
|
.addInterceptor(new UserAgentInterceptor("WhatsApp/2"))
|
||||||
.build();
|
.build();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user