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
This commit is contained in:
LucasGGamerM 2023-09-30 13:30:53 -03:00 committed by GitHub
parent 05f7a44bd5
commit 4de7211523
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -324,8 +324,8 @@ public class PushNotificationReceiver extends BroadcastReceiver{
CreateStatus.Request req=new CreateStatus.Request(); CreateStatus.Request req=new CreateStatus.Request();
req.status = initialText + input.toString(); req.status = initialText + input.toString();
req.language = preferences.postingDefaultLanguage; req.language = notification.status.language;
req.visibility = preferences.postingDefaultVisibility; req.visibility = notification.status.visibility;
req.inReplyToId = notification.status.id; req.inReplyToId = notification.status.id;
if (notification.status.hasSpoiler() && if (notification.status.hasSpoiler() &&