From 59d48279654002a2653efabf1040fe04bdba4686 Mon Sep 17 00:00:00 2001 From: Patrick Hellebrand Date: Thu, 23 Sep 2021 14:04:39 +0200 Subject: [PATCH] removed test code for username reactivitiy --- PolyChat/Controller.cs | 2 ++ PolyChat/MainPage.xaml.cs | 2 ++ 2 files changed, 4 insertions(+) diff --git a/PolyChat/Controller.cs b/PolyChat/Controller.cs index 8de1f25..214c034 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 e35e422..f5a238e 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)