Do not remove connection on distrust so that disconnect can be processed correctly
This commit is contained in:
@@ -145,7 +145,7 @@ class ChatServer {
|
||||
if (settings.allowUntrusted && e.level == TrustLevel.NEUTRAL)
|
||||
return
|
||||
|
||||
ChatConnection connection = connections.remove(e.persona.destination)
|
||||
ChatConnection connection = connections.get(e.persona.destination)
|
||||
connection?.close()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user