Fix issue #875 - Visibility of the first message is changed to unlisted when adding replies

This commit is contained in:
Thomas 2023-06-01 16:46:23 +02:00
parent 3861a7b6e4
commit 7e86d9377f
1 changed files with 1 additions and 1 deletions

View File

@ -1509,7 +1509,7 @@ public class ComposeAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder
if (!unlisted_changed && position == 0 && unlistedReplies && statusDraft.visibility.equalsIgnoreCase("public") && statusList.size() > 1) {
statusDraft.visibility = "unlisted";
}
} else if (!unlisted_changed && position == statusCount && unlistedReplies && statusDraft.visibility.equalsIgnoreCase("public") && statusList.size() > 1) {
} else if (!unlisted_changed && position > 0 && position == statusCount && unlistedReplies && statusDraft.visibility.equalsIgnoreCase("public") && statusList.size() > 1) {
statusDraft.visibility = "unlisted";
}