removed test code for username reactivitiy

This commit is contained in:
Patrick Hellebrand
2021-09-23 14:04:39 +02:00
committed by Felix Hartmann (PEA3-Fe-FI)
parent 0d76ec30e2
commit 59d4827965
2 changed files with 4 additions and 0 deletions

View File

@@ -44,9 +44,11 @@ namespace PolyChat
Serve(); Serve();
// test // test
/*
UIController.OnIncomingConnection("1.1.1.1"); UIController.OnIncomingConnection("1.1.1.1");
UIController.OnIncomingConnection("1.2.3.4"); UIController.OnIncomingConnection("1.2.3.4");
UIController.OnIncomingConnection("1.2.4.8"); UIController.OnIncomingConnection("1.2.4.8");
*/
} }
public void Connect(string ip) public void Connect(string ip)

View File

@@ -81,6 +81,7 @@ namespace PolyChat
public async void OnOpenNewChatDialog(object sender = null, RoutedEventArgs e = null) public async void OnOpenNewChatDialog(object sender = null, RoutedEventArgs e = null)
{ {
/*
OnIncomingMessage( OnIncomingMessage(
"1.1.1.1", "1.1.1.1",
new JObject( new JObject(
@@ -89,6 +90,7 @@ namespace PolyChat
).ToString(), ).ToString(),
DateTime.Now DateTime.Now
); );
*/
NewChatDialog dialog = new NewChatDialog(); NewChatDialog dialog = new NewChatDialog();
var result = await SafelyOpenDialog(dialog); var result = await SafelyOpenDialog(dialog);
if (result == ContentDialogResult.Primary) if (result == ContentDialogResult.Primary)