Adds the mention to whom is being replied first, before other mentions in a thread, rather than after them.
This commit is contained in:
parent
514cea68cc
commit
0a7eaadda1
1 changed files with 1 additions and 1 deletions
|
@ -85,10 +85,10 @@ public abstract class SFragment extends BaseFragment {
|
||||||
String contentWarning = actionableStatus.spoilerText;
|
String contentWarning = actionableStatus.spoilerText;
|
||||||
Status.Mention[] mentions = actionableStatus.mentions;
|
Status.Mention[] mentions = actionableStatus.mentions;
|
||||||
List<String> mentionedUsernames = new ArrayList<>();
|
List<String> mentionedUsernames = new ArrayList<>();
|
||||||
|
mentionedUsernames.add(actionableStatus.account.username);
|
||||||
for (Status.Mention mention : mentions) {
|
for (Status.Mention mention : mentions) {
|
||||||
mentionedUsernames.add(mention.username);
|
mentionedUsernames.add(mention.username);
|
||||||
}
|
}
|
||||||
mentionedUsernames.add(actionableStatus.account.username);
|
|
||||||
mentionedUsernames.remove(loggedInUsername);
|
mentionedUsernames.remove(loggedInUsername);
|
||||||
Intent intent = new Intent(getContext(), ComposeActivity.class);
|
Intent intent = new Intent(getContext(), ComposeActivity.class);
|
||||||
intent.putExtra("in_reply_to_id", inReplyToId);
|
intent.putExtra("in_reply_to_id", inReplyToId);
|
||||||
|
|
Loading…
Reference in a new issue