Missing device_one_time_keys_count
in sync response causes no keys to be uploaded
#3725
Labels
S-Critical
Prevents work, causes data loss and/or has no workaround
Milestone
matrix-org/synapse#10214 was recently merged to synapse which caused it to omit the
device_one_time_keys_count
section if no OTKs of any type were present. Element android only callsupdateOneTimeKeyCount
if the section is present (https://github.com/vector-im/element-android/blob/2864101e2aa2368ceac89e7532b6944530a8bdb4/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/crypto/DefaultCryptoService.kt#L417) so this caused a new session to never upload any OTKs, meaning all messages would be undecryptable.The text was updated successfully, but these errors were encountered: