Fix issue #875 - Visibility of the first message is changed to unlisted when adding replies
This commit is contained in:
parent
3861a7b6e4
commit
7e86d9377f
|
@ -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";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue