mirror of
https://github.com/TwidereProject/Twidere-Android
synced 2025-01-30 16:35:00 +01:00
Thumbor is enabled when no Extra specified
This commit is contained in:
parent
8aad854fd8
commit
96315d194d
@ -90,7 +90,7 @@ public class TwidereMediaDownloader implements MediaDownloader, Constants {
|
||||
final Authorization auth;
|
||||
final ParcelableCredentials account;
|
||||
final MediaExtra mediaExtra = extra instanceof MediaExtra ? (MediaExtra) extra : null;
|
||||
final boolean useThumbor = mediaExtra != null && mediaExtra.isUseThumbor();
|
||||
final boolean useThumbor = mediaExtra == null || mediaExtra.isUseThumbor();
|
||||
if (isTwitterAuthRequired(uri) && mediaExtra != null) {
|
||||
account = ParcelableAccount.getCredentials(mContext, mediaExtra.getAccountId());
|
||||
auth = TwitterAPIFactory.getAuthorization(account);
|
||||
|
Loading…
x
Reference in New Issue
Block a user