1
0
mirror of https://github.com/TwidereProject/Twidere-Android synced 2024-12-15 18:19:37 +01:00

reverted test code

This commit is contained in:
Mariotaku Lee 2017-02-05 14:16:11 +08:00
parent 966dd7dcc8
commit 14e7362c4e
No known key found for this signature in database
GPG Key ID: 15C10F89D7C33535

View File

@ -30,6 +30,7 @@ import org.mariotaku.microblog.library.twitter.model.Paging
import org.mariotaku.microblog.library.twitter.model.SearchQuery
import org.mariotaku.microblog.library.twitter.model.Status
import org.mariotaku.twidere.annotation.AccountType
import org.mariotaku.twidere.extension.model.isOfficial
import org.mariotaku.twidere.model.AccountDetails
import org.mariotaku.twidere.model.ParcelableStatus
import org.mariotaku.twidere.model.util.ParcelableStatusUtils
@ -62,7 +63,7 @@ class ConversationLoader(
canLoadAllReplies = false
when (details.type) {
AccountType.TWITTER -> {
val isOfficial = false
val isOfficial = details.isOfficial(context)
canLoadAllReplies = isOfficial
if (isOfficial) {
return microBlog.showConversation(status.id, paging)