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

[AND-14] Refactor Channel.lastMessageAt logic #5488

Merged
merged 6 commits into from
Nov 29, 2024

Conversation

JcMinarro
Copy link
Member

@JcMinarro JcMinarro commented Nov 25, 2024

🎯 Goal

Previously the SDK was calculating the date of the last message within the channel, but it could cause errors due to deleted messages, system messages or some configuration that shouldn't be counted for this calculation.
The backend is calculating this value and sending it us on events that could update the content of the channel itself.

🎉 GIF

@JcMinarro JcMinarro changed the title Refactor/last message at ] Nov 26, 2024
@JcMinarro JcMinarro changed the title ] [AND-14] Refactor Channel.lastMessageAt logic Nov 26, 2024
@JcMinarro JcMinarro requested review from VelikovPetar and a team November 27, 2024 15:49
@JcMinarro JcMinarro marked this pull request as ready for review November 27, 2024 15:49
Copy link
Contributor

@VelikovPetar VelikovPetar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a small remark and a question, but otherwise looks good to me!

@JcMinarro JcMinarro merged commit 5ef09a7 into develop Nov 29, 2024
9 checks passed
@JcMinarro JcMinarro deleted the refactor/last-message-at branch November 29, 2024 11:03
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.

2 participants