Merge branch 'mkirk/mark-as-accepted'

This commit is contained in:
Michael Kirk 2017-04-14 10:56:26 -04:00
commit a715ed0794
1 changed files with 1 additions and 0 deletions

View File

@ -153,6 +153,7 @@ static const CGFloat kSignedPreKeyUpdateFailureMaxFailureDuration = 10 * 24 * 60
// Mark signed prekey as accepted by service.
[signedPreKey markAsAcceptedByService];
[storageManager storeSignedPreKey:signedPreKey.Id signedPreKeyRecord:signedPreKey];
// On success, update the "current" signed prekey state.
[storageManager setCurrentSignedPrekeyId:signedPreKey.Id];