matrix-js-sdk icon indicating copy to clipboard operation
matrix-js-sdk copied to clipboard

Error: [Immer] This object has been frozen and should not be mutated.

Open suryakantgupta321 opened this issue 1 year ago • 0 comments

I get this error with the following steps:-

  • Send a normal message event in a room with the sendEvent method image

  • Edit the event by changing its content and also add rel_type as m.replace and pass eventId of edited event image

  • Now try to do a reaction on the same edited event like this image

  • And also in vice versa case first we do a reaction and then try to edit the message in that case also we get the same error.

Then it gives this error Error: [Immer] This object has been frozen and should not be mutated.

If more information is needed I can provide it.

suryakantgupta321 avatar Sep 20 '23 05:09 suryakantgupta321