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

Regression: sorting direct message by asc on favorites group #11090

Merged
merged 2 commits into from
Jun 12, 2018

Conversation

ggazzo
Copy link
Member

@ggazzo ggazzo commented Jun 11, 2018

Actually we don't have name on direct message rooms, so we cant set lowerCaseName and lowerCaseFName without use and subscriptions

Closes #11088

@ggazzo ggazzo added this to Desireable in June/2018 via automation Jun 11, 2018
@ggazzo ggazzo added this to the 0.66.0 milestone Jun 11, 2018
@engelgabriel engelgabriel temporarily deployed to rocket-chat-pr-11090 June 11, 2018 17:35 Inactive
@ggazzo ggazzo moved this from Desireable to Review/QA in June/2018 Jun 11, 2018
@@ -116,13 +119,15 @@ const mergeSubRoom = (record/*, t*/) => {
}
record.lastMessage = room.lastMessage;
record.lm = room._updatedAt;
return _.extend(record, getLowerCaseNames(record));
return _.extend(record, getLowerCaseNames(record, record.name));
Copy link
Contributor

Choose a reason for hiding this comment

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

Isn't redundant to pass record.name here?

@ggazzo ggazzo changed the title [FIX] sorting direct message by asc on favorites group Regression: sorting direct message by asc on favorites group Jun 12, 2018
@ggazzo ggazzo merged commit f96bf94 into develop Jun 12, 2018
June/2018 automation moved this from Review/QA to Closed Jun 12, 2018
@ggazzo ggazzo deleted the fix-order-directmsg-favorites branch June 12, 2018 19:16
@rodrigok rodrigok mentioned this pull request Jun 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
June/2018
  
Closed
Development

Successfully merging this pull request may close these issues.

[BUG] List of channels sorts automatically on new messages
4 participants