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

Function stories

Scripts/ButSystem.py:18824–18831  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18822 me = current_user()
18823 try:
18824 since_id = int(request.args.get("id") or 0)
18825 except Exception:
18826 since_id = 0
18827 conn = db_connect()
18828 try:
18829 rows = conn.execute(
18830 "SELECT id, sender, body_enc, created_at, has_voice, has_file FROM discussion_messages WHERE id>? ORDER BY id ASC LIMIT 120",
18831 (since_id,),
18832 ).fetchall()
18833 out = []
18834 for r in rows:

Callers

nothing calls this directly

Calls 3

_stories_tables_initFunction · 0.70
current_userFunction · 0.70
_story_user_cardsFunction · 0.70

Tested by

no test coverage detected