(target: TargetChat)
| 518 | const db = await getSeatLockDb(); |
| 519 | const current = new Set(db.data.lockedSeats[target.storageKey] || []); |
| 520 | |
| 521 | for (const userId of userIds) { |
| 522 | if (locked) current.add(userId); |
| 523 | else current.delete(userId); |
| 524 | } |
| 525 | |
| 526 | if (current.size > 0) { |
no test coverage detected