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

Function _render_dm_row_html

Scripts/ButSystem.py:13432–13434  ·  view source on GitHub ↗

Render one DM message row to HTML for AJAX updates.

(m: Dict[str, Any], me: str)

Source from the content-addressed store, hash-verified

13430 )
13431 conn.execute("UPDATE discussion_messages SET has_file=1 WHERE id=?", (msg_id,))
13432 return {"id": fid, "mime": mime, "filename": filename, "size": int(size), "stored_path": stored_path}
13433
13434
13435def _discussion_store_remote_gif_tx(conn, msg_id: int, gif_url: str) -> Dict[str, Any]:
13436 """Download and store a remote GIF/clip for discussion within an existing DB transaction."""
13437 gif_url = (gif_url or "").strip()

Callers 2

dm_sendFunction · 0.70
api_dm_sinceFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected