added warning when quoting non-public toots for mastodon

This commit is contained in:
Mariotaku Lee 2017-05-17 16:37:44 +08:00
parent a5303a2e01
commit 5434e21cdb
No known key found for this signature in database
GPG Key ID: 15C10F89D7C33535
1 changed files with 1 additions and 1 deletions

View File

@ -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?) {