diff --git a/PolyChat/Controller.cs b/PolyChat/Controller.cs index f27f2ff..8d35d15 100644 --- a/PolyChat/Controller.cs +++ b/PolyChat/Controller.cs @@ -44,9 +44,11 @@ namespace PolyChat Serve(); // test + /* UIController.OnIncomingConnection("1.1.1.1"); UIController.OnIncomingConnection("1.2.3.4"); UIController.OnIncomingConnection("1.2.4.8"); + */ } public void Connect(string ip) diff --git a/PolyChat/MainPage.xaml.cs b/PolyChat/MainPage.xaml.cs index 5179fbb..c269543 100644 --- a/PolyChat/MainPage.xaml.cs +++ b/PolyChat/MainPage.xaml.cs @@ -81,6 +81,7 @@ namespace PolyChat public async void OnOpenNewChatDialog(object sender = null, RoutedEventArgs e = null) { + /* OnIncomingMessage( "1.1.1.1", new JObject( @@ -89,6 +90,7 @@ namespace PolyChat ).ToString(), DateTime.Now ); + */ NewChatDialog dialog = new NewChatDialog(); var result = await SafelyOpenDialog(dialog); if (result == ContentDialogResult.Primary)