From 5434e21cdb02c08c734f6df84de872344676691b Mon Sep 17 00:00:00 2001 From: Mariotaku Lee Date: Wed, 17 May 2017 16:37:44 +0800 Subject: [PATCH] added warning when quoting non-public toots for mastodon --- .../kotlin/org/mariotaku/twidere/activity/ComposeActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 277f10de9..2f08dba52 100644 --- a/twidere/src/main/kotlin/org/mariotaku/twidere/activity/ComposeActivity.kt +++ b/twidere/src/main/kotlin/org/mariotaku/twidere/activity/ComposeActivity.kt @@ -203,7 +203,7 @@ class ComposeActivity : BaseActivity(), OnMenuItemClickListener, OnClickListener get() { val status = inReplyToStatus if (!isQuote || status == null) return false - return status.user_is_protected && status.account_key != status.user_key + return !status.can_retweet && status.account_key != status.user_key } override fun onCreate(savedInstanceState: Bundle?) {