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 Alibek Omarov
parent 6e1c99513a
commit 05ab2c5c38

View File

@ -359,6 +359,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)