Skip to content

Commit

Permalink
When you reply in a conversation on Mastodon, the reply option add yo…
Browse files Browse the repository at this point in the history
…urself in the message. It's annoying
  • Loading branch information
Xefir committed Apr 20, 2020
1 parent 45bcfb5 commit 619a020
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1000,6 +1000,7 @@ class ComposeActivity : BaseActivity(), OnMenuItemClickListener, OnClickListener
}
AccountType.MASTODON -> {
addMastodonMentions(status.text_unescaped, status.spans, mentions)
mentions.remove("${accountUser.screen_name}@${accountUser.key.host}")
}
else -> if (status.mentions.isNotNullOrEmpty()) {
status.mentions.filterNot {
Expand Down

0 comments on commit 619a020

Please sign in to comment.