Fixes wasted background work, a conversation jumping to the bottom while you read, and a waiting banner that was hard to understand.
What was broken
The app unlocked your key again for every message and every check with the relay. For an imported, passphrase-protected identity that meant running the passphrase derivation every few seconds. It cost battery and slowed message delivery.
With Nostr on, old messages were processed over and over. The app sent its Nostr subscription again on every upkeep pass, the relays answered with every stored event, and each one was decrypted again.
A new message pulled the conversation to the bottom. If you were reading older messages when one arrived, you lost your place.
The waiting banner was confusing and could not be closed. It said messages were waiting from someone whose pairing had not finished, without saying why they could not be opened.
The notification stayed after you opened the app from its icon.
What's fixed
The unlocked key is kept in memory while the app is unlocked. It is dropped when the app locks.
A Nostr event that already opened is skipped, and the subscription is only sent again when the list of addresses changes.
A conversation follows a new message only when you are already at the end, or when the message is yours.
The banner now says the messages are from someone who is not in your contacts on this device, in all nine languages with proper plural forms. An X hides it. The messages stay held and still open by themselves if you pair with that person.
The notification is removed when the app is in front and unlocked.
About this build
The attached APK is the FOSS build. It carries the SMS transport and contains no Google or Firebase code, so it is the build for F-Droid and direct install.
Verify
The APK is signed with the CarrierPony release key. It also ships a detached GPG signature made with the CarrierPony key:
A0CB C8F6 5AAC E56F 1C5B 7677 53F9 798E 4919 DE62
gpg --verify carrierpony-4.0.1.apk.asc carrierpony-4.0.1.apk