From 619a020b93617bf64b273dfe4efcf64a13eac1ed Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Mon, 20 Apr 2020 11:42:04 +0200 Subject: [PATCH] When you reply in a conversation on Mastodon, the reply option add yourself in the message. It's annoying --- .../kotlin/org/mariotaku/twidere/activity/ComposeActivity.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/twidere/src/main/kotlin/org/mariotaku/twidere/activity/ComposeActivity.kt b/twidere/src/main/kotlin/org/mariotaku/twidere/activity/ComposeActivity.kt index 92f675f62..258354b19 100644 --- a/twidere/src/main/kotlin/org/mariotaku/twidere/activity/ComposeActivity.kt +++ b/twidere/src/main/kotlin/org/mariotaku/twidere/activity/ComposeActivity.kt @@ -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 {