matrix-android/app
ltadeu6 5791742c95 Fix FCM push notifications when app is killed
- onMessageReceived now calls MatrixSession.getInstance() so the session
  initializes and the sync loop starts in FCM-woken processes (the critical
  missing piece — without this, a fresh process never ran any sync)
- Replace global lastSyncTimestamp with per-room lastMsgTsPerRoom persisted
  in prefs as last_msg_ts; correctly identifies new messages after restart
  regardless of room history size, without clock-skew issues
- Seed lastMsgTsPerRoom in processSyncResponse else branch on first login;
  save to prefs in isFirstSync block and after every subsequent sync
- Fix deferred notification filter: use >= instead of > so messages whose
  timestamp equals the stored value are included after key arrival
- Change notification title from room name to sender display name

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17 21:18:11 -03:00
..
libs Add Nix shell and local 16KB-aligned Olm build 2026-05-16 15:59:41 -03:00
src/main Fix FCM push notifications when app is killed 2026-05-17 21:18:11 -03:00
build.gradle.kts Add push notifications via local sync loop and FCM 2026-05-17 19:55:59 -03:00
proguard-rules.pro Initial commit 2026-05-14 23:22:06 -03:00