diff --git a/Session/Basic Chats/NewPrivateChatVC.swift b/Session/Basic Chats/NewPrivateChatVC.swift index b12b90e6d..13d768444 100644 --- a/Session/Basic Chats/NewPrivateChatVC.swift +++ b/Session/Basic Chats/NewPrivateChatVC.swift @@ -126,7 +126,7 @@ final class NewPrivateChatVC : BaseVC, UIPageViewControllerDataSource, UIPageVie fileprivate func startNewPrivateChatIfPossible(with onsNameOrPublicKey: String) { if ECKeyPair.isValidHexEncodedPublicKey(candidate: onsNameOrPublicKey) { - startNewPrivateChatIfPossible(with: onsNameOrPublicKey) + startNewPrivateChat(with: onsNameOrPublicKey) } else { // This could be an ONS name ModalActivityIndicatorViewController.present(fromViewController: navigationController!, canCancel: false) { [weak self] modalActivityIndicator in