MCPcopy Create free account
hub / github.com/TeleBoxOrg/TeleBox_Plugins / getLockedSeatSet

Function getLockedSeatSet

admin_board/admin_board.ts:520–523  ·  view source on GitHub ↗
(target: TargetChat)

Source from the content-addressed store, hash-verified

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) {

Callers 1

collectAdminStatsFunction · 0.85

Calls 1

getSeatLockDbFunction · 0.85

Tested by

no test coverage detected