Here we remove GuarenteeE2ee when sending the message and save it to the database:
|
msg.param.remove(Param::GuaranteeE2ee); |
|
msg.param.remove(Param::ForcePlaintext); |
|
msg.update_param(context).await?; |
If UI sends the message and immediately reloads the state, the message will appear unencrypted (and have an "envelope" icon) even if it is sent out as encrypted later.
Here we remove
GuarenteeE2eewhen sending the message and save it to the database:core/src/chat.rs
Lines 2608 to 2610 in d2097d3
If UI sends the message and immediately reloads the state, the message will appear unencrypted (and have an "envelope" icon) even if it is sent out as encrypted later.