From 4de7211523259aa261051f4459c6bd314c8e2d87 Mon Sep 17 00:00:00 2001 From: LucasGGamerM <71328265+LucasGGamerM@users.noreply.github.com> Date: Sat, 30 Sep 2023 13:30:53 -0300 Subject: [PATCH] Fix notifications replies visibility/language not being consistent with replied status (#831) * fix(notifications): make reply visibility consistent with status being replied to * fix(notifications): make reply language consistent with status being replied to --- .../org/joinmastodon/android/PushNotificationReceiver.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mastodon/src/main/java/org/joinmastodon/android/PushNotificationReceiver.java b/mastodon/src/main/java/org/joinmastodon/android/PushNotificationReceiver.java index b76dbe9de..2d988fe4a 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/PushNotificationReceiver.java +++ b/mastodon/src/main/java/org/joinmastodon/android/PushNotificationReceiver.java @@ -324,8 +324,8 @@ public class PushNotificationReceiver extends BroadcastReceiver{ CreateStatus.Request req=new CreateStatus.Request(); req.status = initialText + input.toString(); - req.language = preferences.postingDefaultLanguage; - req.visibility = preferences.postingDefaultVisibility; + req.language = notification.status.language; + req.visibility = notification.status.visibility; req.inReplyToId = notification.status.id; if (notification.status.hasSpoiler() &&