Merge pull request #1256 from Xefir/remove_own_mention_mastodon
Remove your own mention in conversation
This commit is contained in:
commit
950c6c0b4e
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue