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

fix: sort channels and DMs by last message timestamp #838

Merged
merged 1 commit into from
Apr 10, 2024

Conversation

nikkothari22
Copy link
Member

Channels and DMs are sorted by the last message timestamp.

Added new fields in Raven Channel to store the last timestamp and the details of the last message.

@nikkothari22 nikkothari22 linked an issue Apr 10, 2024 that may be closed by this pull request
@github-actions github-actions bot added High priority Created by Linear-GitHub Sync 💻 webapp UI and removed High priority Created by Linear-GitHub Sync labels Apr 10, 2024
@nikkothari22 nikkothari22 merged commit 4bc1594 into develop Apr 10, 2024
3 of 4 checks passed
@nikkothari22 nikkothari22 deleted the 793-mobile-sort-users-by-last-messaged branch April 10, 2024 05:34
@nikkothari22
Copy link
Member Author

As of now, the client fetches the last timestamp every time a new message is sent. Maybe we can send the last timestamp via the socket event (but we cannot send the last message details with it).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sort users by last messaged
1 participant