feat: use Moshidon user agent instead of Megalodon's

This commit is contained in:
LucasGGamerM 2023-05-23 19:49:34 -03:00
parent 2d838a8a23
commit b4b16e2f37
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ public class MastodonAPIController{
Request.Builder builder=new Request.Builder() Request.Builder builder=new Request.Builder()
.url(req.getURL().toString()) .url(req.getURL().toString())
.method(req.getMethod(), req.getRequestBody()) .method(req.getMethod(), req.getRequestBody())
.header("User-Agent", "MegalodonAndroid/"+BuildConfig.VERSION_NAME); .header("User-Agent", "MoshidonAndroid/"+BuildConfig.VERSION_NAME);
String token=null; String token=null;
if(session!=null) if(session!=null)