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

feat: copy msg selection addition metadata #358

Closed
wants to merge 3 commits into from
Closed

feat: copy msg selection addition metadata #358

wants to merge 3 commits into from

Conversation

eric-gitta-moore
Copy link

@eric-gitta-moore eric-gitta-moore commented Oct 15, 2024

fixed #356
fixed #357

@@ -1262,24 +1267,34 @@ export default class ChatContextMenu {
if(this.isSponsored) {
messages = [this.sponsoredMessage];
} else {
messages = fullMids.map((fullMid) => this.chat.getMessage(fullMid) as Message.message);
messages = fullMids.map((fullMid) => this.chat.getMessage(fullMid) as Message.message).sort((a, b)=> a.date - b.date);
Copy link
Author

Choose a reason for hiding this comment

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

sort by date asc

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