Check for when a client logs off the server when sending a message to that client. Should dispose the message and say that you need to choose another recipient.
Check for when a client logs off the server when sending a message to that client.
Should dispose the message and say that you need to choose another recipient.

Ex: sending message to Client2

While typing a message for Client2, Client2 logs off.
The chat needs to dispose of the message and say you
need to choose another recipient to send a message.

Clumsy-Coder/CPSC3780-Project,Clumsy-Coder/CPSC3780-Project