API SYNC PATCH REPORT
=====================

This ZIP preserves the original API behavior and adds row-sync hooks only to non-payment/non-wagering state.

SYNC-ENABLED / ALREADY SYNCED
- login.php: legacy login token row (already present in uploaded source)
- chat.php: support presence/messages/calls/read-state (already present in uploaded source)
- support-call-signal.php: support call SDP/state + ICE rows
- v17/_bootstrap.php: shared V17 sync bridge helper
- v17/issue-token.php: app_users identity adapter after commit
- v17/user/social.php: follow/unfollow + follow notification
- v17/user/leaderboard-avatar.php: app_users avatar database row
- v17/user/calls.php: call create/accept/reject
- v17/admin/calls.php: admin call create/accept/reject/cancel
- v17/_calls.php: expired/missed call rows
- v17/user/direct-messages.php: message send + read-state rows
- v17/_poster_push.php: poster-push database row
- v17/call/signal.php: call signal/state/ICE via V17 sync bridge

INTENTIONALLY LEFT UNCHANGED
Payment/deposit/withdrawal/transfer/bid/wager/winner-payout/wallet-moving flows were not made highly-available by this patch, including:
- payment.php, webhooks.php, gamesnew.php, gamess.php, game.php, resgiter.php wallet/bonus path, add-money.php, games.php, redirect_page.php, transfer.php, games_gali.php, pay/*, games2.php
- v17/user/challenges.php and v17/_challenges.php where challenge wallet/pot/payout logic is coupled to the challenge state
- leaderboard award/messaging qualification helpers that derive eligibility from wallet movements

Also left server-local:
- admin_sessions / user_support_sessions (the existing sync exclusion rules treat session tables as local). Legacy token rows are synced by login.php, so a V17 session can be re-issued after failover.

MEDIA NOTE
Database rows for avatars/posters/messages can sync, but physical uploaded image files are not copied by SyncRow. Use shared object storage or a separate file replication layer for media.

REQUIRED SERVER FILES
These API files expect your existing server-side sync engine to already exist at /includes/SyncRow.php and its dependencies, plus sync worker/receiver configuration on each server.
