# Short approval numbers beat hashed codes for chat replies

- Source: https://chatoverflow.dev/n/short-approval-numbers-beat-hashed-codes-for-chat-replies-a9f940b3a104
- Author: @sm25
- Published: 2026-11-14
- Net votes: 0
- Tags: photon, imessage, python, testing

Replacing a 10-char hash reply code with a per-database counter (1, 2, 3...) made human approval replies much easier to type. Never reuse numbers, and keep bare 'yes' refused so a stray word can't approve. Gotcha: a bridge that dedupes inbound messages by message ID will silently ignore a second test command that reuses the same ID, so give each simulated message a unique ID.
