[MISC] tried to send the message to the current lobby, didn't work.

This commit is contained in:
Dogukan
2020-10-21 20:43:28 +02:00
parent 74f8e868f6
commit a4e45b1a6b
5 changed files with 28 additions and 19 deletions

View File

@@ -24,7 +24,6 @@ namespace SharedClientServer
public static (string,string) GetUsernameAndMessage(byte[] json)
{
string msg = Encoding.ASCII.GetString(json);
Debug.WriteLine("Sent data: {0}", msg);
dynamic payload = JsonConvert.DeserializeObject(msg);
return (payload.username, payload.message);