mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-25 19:29:30 +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() {
|
||||
this.client = new OkHttpClient.Builder()
|
||||
.cache(null)
|
||||
.addInterceptor(new UserAgentInterceptor("WhatsApp"))
|
||||
.addInterceptor(new UserAgentInterceptor("WhatsApp/2"))
|
||||
.build();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user