Add missing error handler for mute conversation invocation (#1746)
This commit is contained in:
parent
68f34152dc
commit
a5416abb21
1 changed files with 1 additions and 0 deletions
|
@ -318,6 +318,7 @@ public abstract class SFragment extends BaseFragment implements Injectable {
|
|||
}
|
||||
case R.id.status_mute_conversation: {
|
||||
timelineCases.muteConversation(status, status.getMuted() == null || !status.getMuted())
|
||||
.onErrorReturnItem(status)
|
||||
.observeOn(AndroidSchedulers.mainThread())
|
||||
.as(autoDisposable(from(this, Lifecycle.Event.ON_DESTROY)))
|
||||
.subscribe();
|
||||
|
|
Loading…
Reference in a new issue