RocketChat / EmbeddedChat

An easy to use full-stack component (ReactJS) embedding Rocket.Chat into your webapp
https://www.npmjs.com/package/@embeddedchat/react
107 stars 214 forks source link

[BUG] Static message Limit #527

Closed Spiral-Memory closed 3 months ago

Spiral-Memory commented 3 months ago

Description:

Currently, there is a static message limit in the embedded chat. However, this should not be the case as the admin has the flexibility to adjust the message limit according to their choice from workspace settings.

Steps to reproduce:

  1. Setup Embedded Chat.
  2. Go to workspace settings and change the message limit.
  3. Try sending a message from the embedded chat; it will always take 500 messages as the maximum limit.

Expected behavior:

The maximum message limit should reflect the limit set by the admin.

Actual behavior:

The maximum message limit is set to a constant value of 500 which is incorrect.