Fix empty string comparison issues in the codebase (#16686)
Automatic Merge
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
200a56fa5a
Коммит
94c24eea20
@@ -435,7 +435,7 @@ func (h *Hub) Start() {
|
||||
connIndex.Remove(webConn)
|
||||
atomic.StoreInt64(&h.connectionCount, int64(len(connIndex.All())))
|
||||
|
||||
if len(webConn.UserId) == 0 {
|
||||
if webConn.UserId == "" {
|
||||
continue
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user