Render one DM message row to HTML for AJAX updates.
(m: Dict[str, Any], me: str)
| 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 | |
| 13435 | def _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() |
no outgoing calls
no test coverage detected