ChatMessages on THEEEEEEEEEEEEEEE RIGHT

This commit is contained in:
Patrick Hellebrand
2021-09-23 16:24:41 +02:00
committed by Felix Hartmann (PEA3-Fe-FI)
parent 31ffe86f04
commit ba4d0b619e
3 changed files with 14 additions and 11 deletions

View File

@@ -87,16 +87,16 @@ namespace PolyChat
public async void OnOpenNewChatDialog(object sender = null, RoutedEventArgs e = null)
{
// test
/*
/**/
OnIncomingMessage(
"1.1.1.1",
"localhost",
new JObject(
new JProperty("type", "username"),
new JProperty("content", "Cloudflare")
new JProperty("type", "message"),
new JProperty("content", "Test")
).ToString(),
DateTime.Now
);
*/
/**/
NewChatDialog dialog = new NewChatDialog();
var result = await SafelyOpenDialog(dialog);
if (result == ContentDialogResult.Primary)