Merged controller Dialog Heading
This commit is contained in:
@@ -58,7 +58,7 @@ namespace PolyChat.Models
|
||||
private void OnConnect()
|
||||
{
|
||||
Debug.WriteLine("--- Sending initial packet to server ---");
|
||||
Client.Emit("initial", IP);
|
||||
Client.Emit("initial", Controller.getIP());
|
||||
Debug.WriteLine("--- Connection successfull ---");
|
||||
Connected = true;
|
||||
}
|
||||
@@ -92,5 +92,10 @@ namespace PolyChat.Models
|
||||
{
|
||||
return Connected;
|
||||
}
|
||||
|
||||
public string getIP()
|
||||
{
|
||||
return IP;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user