Skip to content
New issue

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

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

Open
suryakantgupta321 opened this issue Sep 20, 2023 · 0 comments

Comments

@suryakantgupta321
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant