mirror of
https://github.com/TwidereProject/Twidere-Android
synced 2025-01-31 17:04:59 +01:00
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…
x
Reference in New Issue
Block a user