Skip to main content

OUTBOUND_DMS_STORAGE_KEY

Constant OUTBOUND_DMS_STORAGE_KEY 

Source
pub const OUTBOUND_DMS_STORAGE_KEY: &[u8] = b"outbound_dms";
Expand description

Delegate storage key for the outbound-DM plaintext cache.

Lets the sender re-render their own DMs as plaintext on reload / secondary device, since the room contract only carries ECIES-ciphertext (only the recipient can decrypt). See issue freenet/river#256.