Two race conditions when bot joins first (remote=0): 1. Key arrives before participant joins LK → on_participant_connected now applies stored keys 2. Key arrives after session start → on_encryption_key now sets key for all remote_participants by LK identity Fixes identity mismatch between Matrix device_id (from key event) and LK participant identity. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
20 KiB
20 KiB