From c8c5e56a174a392a4bbba1f49e709818a7f131fd Mon Sep 17 00:00:00 2001 From: Thomas Date: Sat, 9 Jan 2021 18:47:08 +0100 Subject: [PATCH] Cannot comment reply with Pleroma accounts --- app/build.gradle | 4 ++-- .../client/mastodon/MastodonService.java | 7 ++++--- .../metadata/android/en-US/changelogs/37.txt | 16 ++++++++++++++++ 3 files changed, 22 insertions(+), 5 deletions(-) create mode 100644 src/fdroid_full/fastlane/metadata/android/en-US/changelogs/37.txt diff --git a/app/build.gradle b/app/build.gradle index 3b6f901..70af9de 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -11,8 +11,8 @@ android { minSdkVersion 21 targetSdkVersion 30 - versionCode 36 - versionName "1.12.0" + versionCode 37 + versionName "1.12.1" multiDexEnabled true testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } diff --git a/app/src/main/java/app/fedilab/fedilabtube/client/mastodon/MastodonService.java b/app/src/main/java/app/fedilab/fedilabtube/client/mastodon/MastodonService.java index a7385ea..fee7e75 100644 --- a/app/src/main/java/app/fedilab/fedilabtube/client/mastodon/MastodonService.java +++ b/app/src/main/java/app/fedilab/fedilabtube/client/mastodon/MastodonService.java @@ -54,12 +54,13 @@ interface MastodonService { @Query("q") String messageURL ); + @FormUrlEncoded @POST("statuses") Call postReply( @Header("Authorization") String credentials, - @Query("in_reply_to_id") String inReplyToId, - @Query("status") String content, - @Query("visibility") String visibility + @Field("in_reply_to_id") String inReplyToId, + @Field("status") String content, + @Field("visibility") String visibility ); diff --git a/src/fdroid_full/fastlane/metadata/android/en-US/changelogs/37.txt b/src/fdroid_full/fastlane/metadata/android/en-US/changelogs/37.txt new file mode 100644 index 0000000..a03473e --- /dev/null +++ b/src/fdroid_full/fastlane/metadata/android/en-US/changelogs/37.txt @@ -0,0 +1,16 @@ +Added: +- Notification counter +- Mark all notifications as read +- Google: donations via Google Billing + +Changed: +- Improve layout for lives +- Move the account item + +Fixed: +- Cannot connect Pleroma/Mastodon accounts +- Cannot comment/reply with Pleroma accounts +- Issue with captions when changing the resolution +- Keep playing when screen is off +- Creating a Playlist without description crashes +- Live not starting issue \ No newline at end of file