Allow any user to join an open voice room

This commit is contained in:
mplorentz
2026-03-03 10:23:02 -05:00
parent e97d1283e7
commit ae717eda9f
+1 -1
View File
@@ -120,7 +120,7 @@ func (instance *Instance) livekitTokenHandler(w http.ResponseWriter, r *http.Req
return
}
if !instance.Groups.HasAccess(groupId, pubkey) {
if HasTag(meta.Tags, "restricted") && !instance.Groups.HasAccess(groupId, pubkey) {
http.Error(w, "not a group member", http.StatusForbidden)
return
}