mirror of
https://github.com/TwidereProject/Twidere-Android
synced 2025-02-16 19:50:53 +01:00
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) {
|
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…
x
Reference in New Issue
Block a user