Skip to content

Commit

Permalink
[FIX] Unread rooms group order (#487)
Browse files Browse the repository at this point in the history
  • Loading branch information
diegolmello authored Oct 16, 2018
1 parent cf2d21e commit 5238cd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/RoomsListView/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ export default class RoomsListView extends LoggedView {

// unread
if (showUnread) {
this.unread = this.data.filtered('archived != true && open == true').sorted('name', false).filtered('(unread > 0 || alert == true)');
this.unread = this.data.filtered('archived != true && open == true').filtered('(unread > 0 || alert == true)');
unread = this.unread.slice();
setTimeout(() => {
this.unread.addListener(() => this.setState({ unread: this.unread.slice() }));
Expand Down

0 comments on commit 5238cd7

Please sign in to comment.