Add missing error handler for mute conversation invocation (#1746)
This commit is contained in:
parent
68f34152dc
commit
a5416abb21
|
@ -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 New Issue