RocketChat / EmbeddedChat

An easy to use full-stack component (ReactJS) embedding Rocket.Chat into your webapp
https://rocketchat.github.io/EmbeddedChat/docs
112 stars 222 forks source link

APIs are calling more than once #112

Open vishakha-aggarwal opened 1 year ago

vishakha-aggarwal commented 1 year ago

Description:

Whenever any user performs any functionality in EmbeddedChat, the getMessage API is called more than once which eventually results in status code 429 due to multiple requests. This issue might act as a blocker in implementing more features in the future.

Steps to reproduce:

  1. Send any message or react on any message
  2. Do this multiple times

Expected behavior:

The getMessage API should be called only once instead of calling itself multiple times.

Actual behavior:

The API is calling multiple times due to which after some operations we get status code 429.

bishal2059 commented 1 year ago

Hi, Shall I work on this issue?

sidmohanty11 commented 1 year ago

@bishal2059 sure! Go ahead

Pradiprajvala commented 1 year ago

hii, can I work on solving this issue ?? @vishakha-aggarwal