Commit Graph
8 Commits
Author SHA1 Message Date
a1denvalu3GitHuba1denvalu3 <>
96b35e957c Add 'Send private message' action to chat user sheet (#649)
* Add 'Send private message' action to chat user sheet

* Change 'Send private message' action color to purple

* Fix: Resolve short ID against all participants, not just cached nicknames

* Fix: Correctly open private chat sheet for mesh peers

---------

Co-authored-by: a1denvalu3 <>
2026-03-25 14:45:36 +01:00
a1denvalu3andGitHub dac81b2c3b fix: use CSPRNG for heartbeat intervals (#685) 2026-03-25 14:42:53 +01:00
a1denvalu3andGitHub 43029e88e6 fix: pause geohash heartbeat (kind 20001) sampling when backgrounded (#660) 2026-02-01 13:25:36 +01:00
a1denvalu3andGitHub f79451b615 fix(geohash): cleanup sampling subscriptions when closing location sheet (#659)
- Added DisposableEffect to LocationChannelsSheet to ensure cleanup runs when composable is removed
- Fixed ChatViewModel.endGeohashSampling() to correctly delegate to GeohashViewModel instead of being a no-op
- Prevents lingering kind 20001 subscriptions after closing the sheet
2026-01-31 16:42:20 +01:00
a1denvalu3GitHuba1denvalu3 <>
a13109970d fix(ui): Show acquiring location state instead of unavailable (#621)
* fix(ui): Show acquiring location state instead of unavailable

This change updates the LocationNotesSheetPresenter to display an 'Acquiring Location' sheet when location permissions are granted but the location is still loading. This prevents the misleading 'Location Unavailable' error on devices with slow GPS start-up (e.g., GrapheneOS).

Fixes #578

* Adjust text

---------

Co-authored-by: a1denvalu3 <>
2026-01-15 23:02:26 +07:00
a1denvalu3GitHuba1denvalu3 <>
39e43fa923 security: ensure media files are deleted during panic mode (#607)
Closes #591
- Added FileUtils.clearAllMedia() to recursively delete media directories and cache.
- Called clearAllMedia() in ChatViewModel.panicClearAllData().

fix: correct voice notes directory path for cleanup

- Updated FileUtils.clearAllMedia to use 'voicenotes' instead of 'voice_notes' to match VoiceRecorder.kt

fix: update media cleanup to include cache directories

- Updated FileUtils.clearAllMedia to explicitly clean 'files/incoming' and 'images/incoming' from context.cacheDir, reflecting the storage location change from issue #592.
- Maintained legacy cleanup for context.filesDir.

Co-authored-by: a1denvalu3 <>
2026-01-15 22:32:30 +07:00
a1denvalu3GitHuba1denvalu3 <>
e3310a34fd security: prevent storage exhaustion by saving incoming files to cache (#606)
Closes #592
- Changed FileUtils.saveIncomingFile to use context.cacheDir instead of context.filesDir.
- This ensures incoming files are treated as temporary and can be cleared by the OS if space is needed.

Co-authored-by: a1denvalu3 <>
2026-01-15 13:42:50 +07:00
a1denvalu3GitHuba1denvalu3 <>
c7e20a9590 fix nostr private messages processing (#563)
* fix nostr private messages processing

* persisted geohash registry

---------

Co-authored-by: a1denvalu3 <>
2026-01-12 14:53:53 +07:00