From c747a3bfade7a32690987f02e457741973ef86c5 Mon Sep 17 00:00:00 2001 From: Mariotaku Lee Date: Tue, 20 Jun 2017 13:52:45 +0800 Subject: [PATCH] fixed #878 --- .../org/mariotaku/twidere/task/twitter/UpdateStatusTask.kt | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/twidere/src/main/kotlin/org/mariotaku/twidere/task/twitter/UpdateStatusTask.kt b/twidere/src/main/kotlin/org/mariotaku/twidere/task/twitter/UpdateStatusTask.kt index e43779d4d..dbd4364ed 100644 --- a/twidere/src/main/kotlin/org/mariotaku/twidere/task/twitter/UpdateStatusTask.kt +++ b/twidere/src/main/kotlin/org/mariotaku/twidere/task/twitter/UpdateStatusTask.kt @@ -40,12 +40,9 @@ import org.mariotaku.twidere.alias.MastodonStatusUpdate import org.mariotaku.twidere.annotation.AccountType import org.mariotaku.twidere.app.TwidereApplication import org.mariotaku.twidere.extension.calculateInSampleSize +import org.mariotaku.twidere.extension.model.* import org.mariotaku.twidere.extension.model.api.mastodon.toParcelable import org.mariotaku.twidere.extension.model.api.toParcelable -import org.mariotaku.twidere.extension.model.applyUpdateStatus -import org.mariotaku.twidere.extension.model.getMediaSizeLimit -import org.mariotaku.twidere.extension.model.newMicroBlogInstance -import org.mariotaku.twidere.extension.model.textLimit import org.mariotaku.twidere.extension.text.twitter.getTweetLength import org.mariotaku.twidere.model.* import org.mariotaku.twidere.model.account.AccountExtras @@ -454,7 +451,7 @@ class UpdateStatusTask( val details = statusUpdate.accounts[index] if (statusUpdate.draft_action == Draft.Action.REPLY && inReplyToStatus != null) { - status.inReplyToId(inReplyToStatus.id) + status.inReplyToId(inReplyToStatus.originalId) } val mediaIds = pendingUpdate.mediaIds[index] if (mediaIds != null) {