Fix call from assistant
This commit is contained in:
parent
71a5d8cae4
commit
be6633ad4c
@ -2293,7 +2293,7 @@ public class LaunchActivity extends Activity implements ActionBarLayout.ActionBa
|
|||||||
final boolean videoCall = videoCallUser;
|
final boolean videoCall = videoCallUser;
|
||||||
contactsFragment.setDelegate((user, param, activity) -> {
|
contactsFragment.setDelegate((user, param, activity) -> {
|
||||||
final TLRPC.UserFull userFull = MessagesController.getInstance(currentAccount).getUserFull(user.id);
|
final TLRPC.UserFull userFull = MessagesController.getInstance(currentAccount).getUserFull(user.id);
|
||||||
VoIPHelper.startCall(user, videoCall, userFull != null && userFull.video_calls_available, LaunchActivity.this, userFull);
|
VoIPHelper.startCall(user, videoCall, userFull != null && userFull.video_calls_available, LaunchActivity.this, userFull, true);
|
||||||
});
|
});
|
||||||
actionBarLayout.presentFragment(contactsFragment, actionBarLayout.getLastFragment() instanceof ContactsActivity, true, true, false);
|
actionBarLayout.presentFragment(contactsFragment, actionBarLayout.getLastFragment() instanceof ContactsActivity, true, true, false);
|
||||||
if (AndroidUtilities.isTablet()) {
|
if (AndroidUtilities.isTablet()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user