outdoor users(7)
This commit is contained in:
parent
1edff06f81
commit
516c0faf00
1 changed files with 2 additions and 2 deletions
|
@ -193,7 +193,7 @@ class ReceiveThread extends Thread {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!message.isRedirected() && message.getAuthor() != user.getName())
|
if(!message.isRedirected() && !message.getAuthor().equals(user.getName()))
|
||||||
{
|
{
|
||||||
socket.close();
|
socket.close();
|
||||||
if(!isOutdoor)
|
if(!isOutdoor)
|
||||||
|
@ -216,7 +216,7 @@ class ReceiveThread extends Thread {
|
||||||
}
|
}
|
||||||
displayArea.setCaretPosition(displayArea.getDocument().getLength());
|
displayArea.setCaretPosition(displayArea.getDocument().getLength());
|
||||||
}
|
}
|
||||||
if(message.getAuthor() != user.getName())
|
if(!message.getAuthor().equals(user.getName()) && !message.isRedirected())
|
||||||
{
|
{
|
||||||
for(Socket s:outdoor_dest_sockets)
|
for(Socket s:outdoor_dest_sockets)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue