mirror of
https://github.com/signalapp/libsignal.git
synced 2026-05-02 04:27:22 +02:00
And consolidate the implementations of these two separate checks; now they both check for a valid session by looking for a sender chain instead of just *some* current session, in addition to the new check for an expired unacknowledged session. At the Rust level, this is now one check named has_usable_sender_chain; at the app levels, the old names of hasSenderChain (Java) and hasCurrentState (Swift, TypeScript) have been preserved. Tests to come in the next commit.