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

Function group_lock_set

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

Source from the content-addressed store, hash-verified

14747 try:
14748 since_id = int(request.args.get("id") or 0)
14749 except Exception:
14750 since_id = 0
14751
14752 want_html = (request.args.get("html") == "1")
14753
14754 conn = db_connect()
14755 rows = conn.execute(
14756 """
14757 SELECT id, sender, body_enc, created_at
14758 FROM group_messages
14759 WHERE group_id=? AND id > ?
14760 ORDER BY id ASC
14761 LIMIT 120
14762 """,

Callers

nothing calls this directly

Calls 3

current_userFunction · 0.70
group_roleFunction · 0.70
_chat_lock_setFunction · 0.70

Tested by

no test coverage detected