MCPcopy Create free account
hub / github.com/dedsec1121fk/DedSec / group_lock_unlock

Function group_lock_unlock

Scripts/ButSystem.py:14764–14773  ·  view source on GitHub ↗
(gid: int)

Source from the content-addressed store, hash-verified

14762 """,
14763 (gid, since_id),
14764 ).fetchall()
14765
14766 out = []
14767 for r in rows:
14768 v = conn.execute(
14769 "SELECT id, mime FROM group_voice WHERE gm_id=? ORDER BY id DESC LIMIT 1",
14770 (r["id"],),
14771 ).fetchone()
14772 has_voice = bool(v)
14773 try:
14774 body_txt = aesgcm_decrypt_text(r["body_enc"])
14775 except Exception:
14776 body_txt = "[decrypt failed]"

Callers

nothing calls this directly

Calls 3

current_userFunction · 0.70
group_roleFunction · 0.70

Tested by

no test coverage detected