RocketChat / Rocket.Chat.ReactNative

Rocket.Chat mobile clients
https://rocket.chat
MIT License
2.03k stars 1.18k forks source link

Cant edit encrypted messages via mobile client #5908

Open alekdimitrov opened 1 month ago

alekdimitrov commented 1 month ago

Description:

Environment Information:

Steps to reproduce:

  1. Enter in encrypted chat room
  2. Edit message

Expected behavior:

  1. Encrypted chat room
  2. Edit
  3. Edit message successfully

Actual behavior:

  1. Enter in encrypted chat room
  2. Edit message
  3. Nothing happend (message is not edited. If you edit it from desctop client its worked like a charm)

Additional context:

AbhigyanSrivastav commented 1 month ago

Hey there @alekdimitrov, I’m interested in this issue and would love to contribute! I have experience working with React and Node.js, and I’ve also developed native mobile applications in Java. Could you please guide me on how I can get started with contributing to this React Native project?

Rohit3523 commented 3 weeks ago

Can reproduce this issue, I tried to find the cause for it but it will take more time because i will have to understand the encryption process.

My wild guess is that we are just passing the old message content in the api which marks the message as edit and have the same content