private void handleStaleDevices(SignalServiceAddress recipient, StaleDevices staleDevices) { foreach (uint staleDeviceId in staleDevices.getStaleDevices()) { store.DeleteSession(new SignalProtocolAddress(recipient.getNumber(), staleDeviceId)); } }
private void handleStaleDevices(TextSecureAddress recipient, StaleDevices staleDevices) { foreach (uint staleDeviceId in staleDevices.getStaleDevices()) { store.DeleteSession(new AxolotlAddress(recipient.getNumber(), staleDeviceId)); } }