When you reply in a conversation on Mastodon, the reply option add yourself in the message. It's annoying

This commit is contained in:
Michel Roux 2020-04-20 11:42:04 +02:00
parent 45bcfb5bcd
commit 619a020b93
1 changed files with 1 additions and 0 deletions

View File

@ -1000,6 +1000,7 @@ class ComposeActivity : BaseActivity(), OnMenuItemClickListener, OnClickListener
} }
AccountType.MASTODON -> { AccountType.MASTODON -> {
addMastodonMentions(status.text_unescaped, status.spans, mentions) addMastodonMentions(status.text_unescaped, status.spans, mentions)
mentions.remove("${accountUser.screen_name}@${accountUser.key.host}")
} }
else -> if (status.mentions.isNotNullOrEmpty()) { else -> if (status.mentions.isNotNullOrEmpty()) {
status.mentions.filterNot { status.mentions.filterNot {