From f6f08d176c65005a954fd78874f11b8cbf3ec44a Mon Sep 17 00:00:00 2001 From: sk Date: Mon, 22 May 2023 18:07:18 +0200 Subject: [PATCH] change user-agent string --- .../org/joinmastodon/android/api/MastodonAPIController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mastodon/src/main/java/org/joinmastodon/android/api/MastodonAPIController.java b/mastodon/src/main/java/org/joinmastodon/android/api/MastodonAPIController.java index 5c38862b8..560f81fbf 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/api/MastodonAPIController.java +++ b/mastodon/src/main/java/org/joinmastodon/android/api/MastodonAPIController.java @@ -91,7 +91,7 @@ public class MastodonAPIController{ Request.Builder builder=new Request.Builder() .url(req.getURL().toString()) .method(req.getMethod(), req.getRequestBody()) - .header("User-Agent", "MastodonAndroid/"+BuildConfig.VERSION_NAME); + .header("User-Agent", "MegalodonAndroid/"+BuildConfig.VERSION_NAME); String token=null; if(session!=null)