This commit is contained in:
Mariotaku Lee 2017-06-03 22:41:01 +08:00
parent 9525aeb7d1
commit c66371f710
No known key found for this signature in database
GPG Key ID: 15C10F89D7C33535
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ open class OnLinkClickHandler(
val intent = Intent(Intent.ACTION_VIEW, Uri.parse(link))
intent.flags = Intent.FLAG_ACTIVITY_NEW_TASK
intent.setClass(context, WebLinkHandlerActivity::class.java)
if (accountKey != null) {
if (accountKey != null && accountKey.host == USER_TYPE_TWITTER_COM) {
intent.putExtra(EXTRA_ACCOUNT_KEY, accountKey)
} else {
intent.putExtra(EXTRA_ACCOUNT_HOST, USER_TYPE_TWITTER_COM)