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

Max message limit changed from static value to server value #1267

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Spyyy004
Copy link

@Spyyy004 Spyyy004 commented Jan 9, 2025

  1. Extracted max_message_limit from the register-queue API endpoint response
  2. Added the max_message_limit property in the initial_snapshot model
  3. Created a maxMessageLimit variable in the compose_box widget and set the value of it to the value fetched from the api endpoint while rendering the sendButton.
  4. Added dummy value for maxMessageLimit in example_data.dart file.
  5. Generated a new .g file for initial_snapshot as I made a new addition to the model.

@chrisbobbe
Copy link
Collaborator

This will need to follow the project's Git style before it can be reviewed.

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

Successfully merging this pull request may close these issues.

3 participants