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