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

Trim old messages from the chat, instead of new messages. #129

Merged
merged 2 commits into from Feb 7, 2023
Merged

Conversation

Gigabyte5671
Copy link
Member

When trimming the chat message list, remove old messages (from the start of the list) instead of removing new messages (from the end of the list).

Fixes #128.

When trimming the chat message list, remove old messages (from the start of the array) instead of removing new messages (from the end of the array).

Signed-off-by: Giga <gigabyte5671@gmail.com>
Signed-off-by: Giga <gigabyte5671@gmail.com>
@Gigabyte5671 Gigabyte5671 merged commit 3379a66 into master Feb 7, 2023
@Gigabyte5671 Gigabyte5671 deleted the chat branch October 25, 2023 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix chat trimming new messages instead of old messages.
2 participants