Rather than relying on SDSKeyValueStore returning nil when keyed-archive data can't be decoded, do the decoding step in SSKSessionStore, where we can explicitly allow it. Then write a test that approximates having the old session data stored. |
||
|---|---|---|
| .. | ||
| Model | ||
| PreKeyId.swift | ||
| SenderKeyStore.swift | ||
| SignalPreKeyStore.swift | ||
| SignalProtocolStore.swift | ||
| SignalSessionStore.swift | ||
| SignalSignedPreKeyStore.swift | ||
| SSKKyberPreKeyStore.swift | ||
| SSKPreKeyStore.swift | ||
| SSKSessionStore.swift | ||
| SSKSignedPreKeyStore.swift | ||