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

main
Vavassor 8 years ago
parent 3e3aec050d
commit 19dc637c94
  1. 2
      app/src/main/java/com/keylesspalace/tusky/fragment/SFragment.java

@ -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);

Loading…
Cancel
Save