diff --git a/infra/conf/v5cfg/stream.go b/infra/conf/v5cfg/stream.go index 2add4e458..fa49b165a 100644 --- a/infra/conf/v5cfg/stream.go +++ b/infra/conf/v5cfg/stream.go @@ -31,7 +31,7 @@ func (s StreamConfig) BuildV5(ctx context.Context) (proto.Message, error) { Settings: serial.ToTypedMessage(transportConfigPack), }) - if s.Security != "none" && s.Security != "" { + if s.Security != "none" { if s.SecuritySettings == nil { s.SecuritySettings = []byte("{}") }