feat: use Moshidon user agent instead of Megalodon's
This commit is contained in:
parent
2d838a8a23
commit
b4b16e2f37
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue