RocketChat / EmbeddedChat

An easy to use full-stack component (ReactJS) embedding Rocket.Chat into your webapp

Home Page:https://www.npmjs.com/package/@embeddedchat/react

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] Static message Limit

Spiral-Memory opened this issue · comments

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.