From b4b16e2f37ac016607b6683387220ed376b41f84 Mon Sep 17 00:00:00 2001 From: LucasGGamerM Date: Tue, 23 May 2023 19:49:34 -0300 Subject: [PATCH] feat: use Moshidon user agent instead of Megalodon's --- .../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 7b7fc06e1..b1e73d44d 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", "MegalodonAndroid/"+BuildConfig.VERSION_NAME); + .header("User-Agent", "MoshidonAndroid/"+BuildConfig.VERSION_NAME); String token=null; if(session!=null)