We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On web we have a configurable grace period for late key delivery https://github.com/element-hq/element-web/blob/9a126795a81d13aba2d331b38df75878682d54a1/src/DecryptionFailureTracker.ts#L122
/** If the event is successfully decrypted in less than 4s, we don't report. */ public static GRACE_PERIOD_MS = 4000;
There is no similar mecanism with the rust UTD hook, the late decryption are never graced
matrix-rust-sdk/crates/matrix-sdk-ui/src/unable_to_decrypt_hook.rs
Lines 268 to 283 in 9b6de4e
The text was updated successfully, but these errors were encountered:
For what it's worth: it was simple enough that we implemented it at the FFI layer, in the UTD hook trait impl:
matrix-rust-sdk/bindings/matrix-sdk-ffi/src/sync_service.rs
Lines 171 to 186 in 02c7c2c
Might be fine to move it over to the SDK, if that's what you implied here, but probably lower priority.
Sorry, something went wrong.
@BillCarsonFr will check over this and close this item.
No branches or pull requests
On web we have a configurable grace period for late key delivery
https://github.com/element-hq/element-web/blob/9a126795a81d13aba2d331b38df75878682d54a1/src/DecryptionFailureTracker.ts#L122
There is no similar mecanism with the rust UTD hook, the late decryption are never graced
matrix-rust-sdk/crates/matrix-sdk-ui/src/unable_to_decrypt_hook.rs
Lines 268 to 283 in 9b6de4e
The text was updated successfully, but these errors were encountered: