2023-11-07T23:14:43.637Z W Error decrypting event (id=$tujhmaqviaS12i4L6Ces2Ig80H27c8s51FvPAOKZPM8 type=m.room.encrypted sender=@matthew:matrix.org room=!UcgyhoigetVICUfvRw:matrix.org ts=2023-11-07T21:51:05.603Z): DecryptionError[msg: DomException ConstraintError (0): Unable to add key to index 'by_info': at least one key does not satisfy the uniqueness requirements., session: NRTGMk0PiweE2HYUKH2d0o4+cbMnH52lo5l6iRdcpBc|s62/7/yixJuGRafU4+g7OXyK2JaQBmLWz7gH3+ecZU4]
I think this only happens when (a) decryption failed and (b) there is already a keyshare request in flight; so it is harmless, other than obscuring the underlying reason for decryption. Still it is a source of logspam and we should fix it.
I think this only happens when (a) decryption failed and (b) there is already a keyshare request in flight; so it is harmless, other than obscuring the underlying reason for decryption. Still it is a source of logspam and we should fix it.