fix the notification buttons on the Muted users page (#2009)

This commit is contained in:
Konrad Pozniak 2020-12-04 18:55:13 +01:00 committed by GitHub
parent 6c7b9fbe0a
commit b1a1a69988
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -330,6 +330,7 @@ class AccountListFragment : BaseFragment(), AccountActionListener, Injectable {
private fun fetchRelationships(ids: List<String>) { private fun fetchRelationships(ids: List<String>) {
api.relationships(ids) api.relationships(ids)
.observeOn(AndroidSchedulers.mainThread())
.autoDispose(from(this)) .autoDispose(from(this))
.subscribe(::onFetchRelationshipsSuccess) { .subscribe(::onFetchRelationshipsSuccess) {
onFetchRelationshipsFailure(ids) onFetchRelationshipsFailure(ids)