(gid: int)
| 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]" |
nothing calls this directly
no test coverage detected