mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2025-12-25 00:00:19 +02:00
Fix crash when editing a status
This commit is contained in:
parent
14ce720c01
commit
328759d5ea
1 changed files with 4 additions and 1 deletions
|
|
@ -277,7 +277,10 @@ public class ComposeWorker extends Worker {
|
|||
statusParams.sensitive = statuses.get(i).sensitive;
|
||||
statusParams.spoiler_text = statuses.get(i).spoilerChecked ? statuses.get(i).spoiler_text : null;
|
||||
statusParams.visibility = statuses.get(i).visibility.toLowerCase();
|
||||
statusParams.quoted_status_id = statuses.get(i).quote_id.toLowerCase();
|
||||
String quote_id = statuses.get(i).quote_id;
|
||||
if (quote_id != null) {
|
||||
statusParams.quoted_status_id = quote_id.toLowerCase();
|
||||
}
|
||||
statusParams.quote_approval_policy = statuses.get(i).quote_approval_policy.toLowerCase();
|
||||
statusParams.language = statuses.get(i).language;
|
||||
statusParams.media_attributes = media_attributes;
|
||||
|
|
|
|||
Loading…
Reference in a new issue