Browse Source

Fix a bug when starting call in older Nc versions

Mario Danic 6 years ago
parent
commit
e4b4f3ec84

+ 1 - 1
app/src/main/java/com/nextcloud/talk/controllers/ContactsController.java

@@ -288,7 +288,7 @@ public class ContactsController extends BaseController implements SearchView.OnQ
                             } else {
                             } else {
                                 conversationIntent.putExtras(bundle);
                                 conversationIntent.putExtras(bundle);
                                 startActivity(conversationIntent);
                                 startActivity(conversationIntent);
-                                getRouter().getBackstack().remove(getRouter().getBackstackSize() - 1);
+                                new Handler().postDelayed(() -> getRouter().popCurrentController(), 100);
                             }
                             }
                         }
                         }