Fix: Auto-detect client_id from ClientActivity when not provided in /api/reports/last-sync
- When client doesn't send client_id parameter, look up rustdesk_id from ClientActivity table - This ensures server uses same client_id that client uses when syncing - Fixes issue where server derived 'token_66' but client was syncing with '8d95b8a115c19857' - Server now correctly finds existing sync records and returns requires_full_sync=False
Showing
Please
register
or
sign in
to comment