Commit 1c7ae4a3 authored by Quentin Muret's avatar Quentin Muret Committed by Andreas Traczyk

call reception: fix app crash when we are on the conversation page

Change-Id: Ia34ec4b5a3ad64b9e3d63db37ac2e1aca71fabd6
Reviewed-by: Andreas Traczyk's avatarAndreas Traczyk <andreas.traczyk@savoirfairelinux.com>
parent 690293a5
......@@ -51,7 +51,8 @@ class ConversationsCoordinator: Coordinator, StateableResponsive, ConversationNa
self.callService.newCall.asObservable()
.map({ call in
return call
}).subscribe(onNext: { (call) in
}).observeOn(MainScheduler.instance)
.subscribe(onNext: { (call) in
self.showCallAlert(call: call)
}).disposed(by: self.disposeBag)
self.navigationViewController.viewModel = ChatTabBarItemViewModel(with: self.injectionBag)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment