Backport #1127 Can't delete messages on Pleroma (Masto-API)
This commit is contained in:
parent
e2acc418d4
commit
ac91ecc669
|
@ -34,7 +34,7 @@ class DestroyStatusTask(
|
||||||
when (account.type) {
|
when (account.type) {
|
||||||
AccountType.MASTODON -> {
|
AccountType.MASTODON -> {
|
||||||
val mastodon = account.newMicroBlogInstance(context, cls = Mastodon::class.java)
|
val mastodon = account.newMicroBlogInstance(context, cls = Mastodon::class.java)
|
||||||
val result = mastodon.favouriteStatus(statusId)
|
val result = mastodon.fetchStatus(statusId)
|
||||||
mastodon.deleteStatus(statusId)
|
mastodon.deleteStatus(statusId)
|
||||||
return result.toParcelable(account)
|
return result.toParcelable(account)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue