feat(pheby): accept inbound chat attachments
This commit is contained in:
@@ -36,6 +36,8 @@ MAX_HISTORY_MESSAGES = 500 # per conversation.open fetch cap
|
||||
AUTH_TIMEOUT_SECONDS = 10.0 # hello must arrive within this window
|
||||
AUTH_FAILURE_LOCKOUT_SECONDS = 60.0 # repeated auth failures lock the source
|
||||
AUTH_FAILURE_THRESHOLD = 5 # failures before lockout
|
||||
MAX_UPLOAD_BYTES = 64 * 1024 * 1024 # inbound attachment upload cap
|
||||
INLINE_TEXT_BYTES = 100 * 1024 # text/* files below this are inlined
|
||||
|
||||
# ── Error codes (machine-readable) ───────────────────────────────────────────
|
||||
ERR_UNAUTHORIZED = "unauthorized"
|
||||
|
||||
Reference in New Issue
Block a user