Merge pull request #1273 from Xefir/1127
Backport #1127 Can't delete messages on Pleroma (Masto-API)
This commit is contained in:
commit
59e3637205
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue