Backport #1127 Can't delete messages on Pleroma (Masto-API)

This commit is contained in:
Michel Roux 2020-04-25 12:41:14 +02:00
parent e2acc418d4
commit ac91ecc669
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ class DestroyStatusTask(
when (account.type) {
AccountType.MASTODON -> {
val mastodon = account.newMicroBlogInstance(context, cls = Mastodon::class.java)
val result = mastodon.favouriteStatus(statusId)
val result = mastodon.fetchStatus(statusId)
mastodon.deleteStatus(statusId)
return result.toParcelable(account)
}