Adds the mention to whom is being replied first, before other mentions in a thread, rather than after them.

This commit is contained in:
Vavassor 2017-06-26 18:10:01 -04:00
parent 514cea68cc
commit 0a7eaadda1

View file

@ -85,10 +85,10 @@ public abstract class SFragment extends BaseFragment {
String contentWarning = actionableStatus.spoilerText;
Status.Mention[] mentions = actionableStatus.mentions;
List<String> mentionedUsernames = new ArrayList<>();
mentionedUsernames.add(actionableStatus.account.username);
for (Status.Mention mention : mentions) {
mentionedUsernames.add(mention.username);
}
mentionedUsernames.add(actionableStatus.account.username);
mentionedUsernames.remove(loggedInUsername);
Intent intent = new Intent(getContext(), ComposeActivity.class);
intent.putExtra("in_reply_to_id", inReplyToId);