(gid: int)
| 14747 | try: |
| 14748 | since_id = int(request.args.get("id") or 0) |
| 14749 | except Exception: |
| 14750 | since_id = 0 |
| 14751 | |
| 14752 | want_html = (request.args.get("html") == "1") |
| 14753 | |
| 14754 | conn = db_connect() |
| 14755 | rows = conn.execute( |
| 14756 | """ |
| 14757 | SELECT id, sender, body_enc, created_at |
| 14758 | FROM group_messages |
| 14759 | WHERE group_id=? AND id > ? |
| 14760 | ORDER BY id ASC |
| 14761 | LIMIT 120 |
| 14762 | """, |
nothing calls this directly
no test coverage detected