[*] 日常优化

This commit is contained in:
acgist
2023-11-01 07:58:04 +08:00
parent 644bb5675c
commit 7fd9ae8860
3 changed files with 7 additions and 5 deletions

View File

@@ -109,9 +109,7 @@ public class Room extends OperatorAdapter {
* @return 是否认证
*/
public boolean authenticate(Client client) {
return
this.mediaClient == client ||
this.clients.containsKey(client);
return this.mediaClient == client || this.clients.containsKey(client);
}
/**