removed buggy mention opening code
This commit is contained in:
parent
61f532500b
commit
c08c3a31e5
|
@ -1399,15 +1399,6 @@ class StatusFragment : BaseFragment(), LoaderCallbacks<SingleResponse<Parcelable
|
|||
expandOrOpenMedia(current)
|
||||
return true
|
||||
}
|
||||
when (type) {
|
||||
TwidereLinkify.LINK_TYPE_MENTION -> {
|
||||
val status = adapter.getStatus(position)
|
||||
val userKey = MastodonPlaceholderUserKey(status.user_key.host ?: accountKey?.host)
|
||||
IntentUtils.openUserProfile(context, accountKey, userKey, link, null,
|
||||
preferences[newDocumentApiKey], Referral.USER_MENTION, null)
|
||||
return true
|
||||
}
|
||||
}
|
||||
return super.onLinkClick(link, orig, accountKey, extraId, type, sensitive, start, end)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue