parent
d1dfe6c1ab
commit
e69ced4081
|
@ -149,6 +149,9 @@ public class ServerConnectionHandler implements Runnable{
|
|||
ServerConnectionHandler handler = connectionRegistry.get(reciever);
|
||||
if (handler != null) {
|
||||
handler.sendData(sender, reciever, type, payload);
|
||||
if(!reciever.equals(sender)){
|
||||
sendData(sender, reciever, type, payload);
|
||||
}
|
||||
} else {
|
||||
this.sendData(USER_NONE, userName, DATA_TYPE_ERROR, "Unknown User: " + reciever);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue