Send the correct room closed reason to clients (#2901)
* Send the correct room closed reason to clients * update go mod
This commit is contained in:
+1
-1
@@ -791,7 +791,7 @@ func (r *Room) CloseIfEmpty() {
|
||||
r.lock.Unlock()
|
||||
|
||||
if elapsed >= int64(timeout) {
|
||||
r.Close(types.ParticipantCloseReasonNone)
|
||||
r.Close(types.ParticipantCloseReasonRoomClosed)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user