Try to fix going to call

Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
Mario Danic 2018-06-28 10:40:07 +02:00
parent f70a8f1a99
commit f134d41433

View File

@ -500,6 +500,8 @@ public class CallsListController extends BaseController implements SearchView.On
bundle.putInt(BundleKeys.KEY_OPERATION_CODE, 99);
prepareAndShowBottomSheetWithBundle(bundle, false);
} else {
currentUser = userUtils.getCurrentUser();
if (currentUser.hasSpreedCapabilityWithName("chat-v2")) {
bundle.putString(BundleKeys.KEY_CONVERSATION_NAME, room.getDisplayName());
getParentController().getRouter().pushController((RouterTransaction.with(new ChatController(bundle))