Skip to content

Commit

Permalink
Entering "+" in the quick search bar will show conversation with unre…
Browse files Browse the repository at this point in the history
…ad messages
  • Loading branch information
Jan Henning Thorsen committed Feb 12, 2021
1 parent c808aaa commit fb4076b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
Revision history for perl distribution Convos

5.25 Not Released
- Entering "+" in the quick search bar will show conversation with unread messages

5.24 2021-02-11T09:30:00+0900
- Will not show participants in sidebar if already visible on the right side
- Will not jump to the first conversation when leaving a conversation
Expand Down
2 changes: 1 addition & 1 deletion assets/components/ChatSidebar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function filterNav() {
// Show and hide navigation links
for (let p = 0; p < prefix.length; p++) {
const filterRe = new RegExp(prefix[p] + regexpEscape(filter), 'i');
const filterRe = filter == '+' ? new RegExp(/[1-9]\d*\s*$/) : new RegExp(prefix[p] + regexpEscape(filter), 'i');
const seen = {};
q(navEl, 'a', (aEl, i) => {
const aClassList = aEl.classList;
Expand Down

0 comments on commit fb4076b

Please sign in to comment.