1
0
mirror of https://github.com/TwidereProject/Twidere-Android synced 2025-02-07 23:38:40 +01:00
This commit is contained in:
Mariotaku Lee 2016-03-20 11:21:22 +08:00
parent abcf936c91
commit 8928ffdba1

View File

@ -732,7 +732,7 @@ public class BackgroundOperationService extends IntentService implements Constan
FileBody body = null;
try {
body = getBodyFromMedia(resolver, builder, media, statusUpdate);
final String location = ParseUtils.parseString(statusUpdate.location.toString());
final String location = ParseUtils.parseString(statusUpdate.location);
final ParcelableStatus result = ParcelableStatusUtils.fromStatus(twitter.uploadPhoto(body,
statusText, location), credentials.account_key, false);
if (shouldShorten && shortener != null && shortenedResult != null) {