B1 grouping: same-sender runs within 5 min collapse to one name + one
avatar (last-of-run), tight padding, tail corner only on last bubble
B2 day separators: Today/Yesterday/d MMM chip above each local day's
first message, Column wraps the gesture widget (long-press preserved)
B4 quick reactions: six preset emoji + full-picker button atop the
long-press menu, wired to the existing sendReaction provider
Verified end-to-end in headless Chromium on the production build;
tapping a preset sends a real m.reaction (confirmed server-side).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
P1 key_restore_prompt: offer recovery-key restore right after login
P2 incoming calls: mount overlay in app.dart + detect MSC3401 call.member
(Element X signalling) — calls were previously invisible
P3 message edit: editMessage/EditMessage + Edit dialog (reactions/delete
were already wired)
P5 panic button: new feature/panic module — hold-to-send alert text +
m.location to a configured room; alert sent before geolocation so a
denied permission never blocks it
All verified end-to-end in headless Chromium against production build.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- Bind JitsiMeetExternalAPI as extension type external constructor;
the old external function binding invoked the ES6 class without 'new'
and threw at runtime (silently, in release builds)
- joinMeeting: wait up to 5s for platform-view container div (post-frame
race), build options via setProperty (jsify cannot carry DOM nodes),
return success bool, log failures to browser console
- jitsi_screen: show 'Could not start the meeting' UI instead of blank
- v1.6.2+10, deployed to app2.m8chat.au
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- LiveKit call E2EE: CallE2EEManager exchanges encryption keys via Matrix
to-device events (m.rtc.encryption_keys) for interop with Element X
- Olm bootstrapped in index.html before Flutter init; main.dart logs result
- Encrypted messages shown with lock icon and informative fallback text
- Profile screen: key restore dialog + security setup (cross-signing/backup)
- Jitsi feature: welcome screen (public, no login), conference tab, full-screen
embed via JitsiMeetExternalAPI, JitsiLink parser for all common link formats
- Help tab: expandable cards for encryption, video calls, account management
- Web security model: no session persistence — device ID only across visits
- Media auth: MSC3916 authenticated endpoint for avatars (Synapse 1.120+)
- Router: welcome route as public landing page; jitsi route as public
- Manifest/index.html: M8Chat branding, dark theme colours
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Without a databaseBuilder, the Matrix SDK has no event storage. The
initial sync populates room metadata but timeline events are not
retained in any queryable form. room.getTimeline() returns empty.
Added MatrixSdkDatabase('m8chat_matrix') which uses IndexedDB on web
and SQLite on mobile via Hive. Events are now persisted and timeline
loads room history correctly.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Add 12s timeout to restoreSession() — client.init() could hang
indefinitely if token expired or server unreachable, leaving user
on spinner forever. Now clears stale credentials and shows login.
- Sync persistence startup wrapped in try-catch — non-fatal
- .htaccess blocks .git directory (was returning 200 to scanners)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>