Remove message retention and /save command

- Delete MessageRetentionService.swift
- Remove retentionEnabledChannels from ChatViewModel
- Remove /save command handling
- Remove retention UI elements from ContentView
- Remove channelRetention message type from protocol
- Update documentation and tests
This commit is contained in:
jack
2025-07-16 15:59:38 +02:00
parent fcc0735928
commit b61904bee9
9 changed files with 2 additions and 532 deletions
@@ -97,12 +97,10 @@ class KeychainIntegrationTests: XCTestCase {
func testNoPlaintextInUserDefaults() {
// Create services to generate keys
_ = NoiseEncryptionService()
_ = MessageRetentionService.shared
// Check UserDefaults for any sensitive data
let keysToCheck = [
"bitchat.noiseIdentityKey",
"bitchat.messageRetentionKey",
"bitchat.channelPasswords",
"bitchat.identityKey",
"bitchat.staticKey"