mirror of
https://github.com/accelforce/Yuito
synced 2025-02-06 10:44:05 +01:00
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
@ -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…
x
Reference in New Issue
Block a user