removed test code for username reactivitiy
This commit is contained in:
committed by
Felix Hartmann (PEA3-Fe-FI)
parent
0d76ec30e2
commit
59d4827965
@@ -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)
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user