Skip to content

always save newly untrusted identity on UntrustedIdentityException

Context

Changes

  • restore logic to save newly untrusted identities when new safety numbers are discovered via failed message sending attempts at all call sites
  • this prevents bugs in calls to SocketHandler#trust, which relies on the existence of untrusted safety numbers in the keystore in order to function properly. if we never save new identities, they cannot be trusted

Merge request reports