Skip to content

Commit fb4076b

Browse files
author
Jan Henning Thorsen
committed
Entering "+" in the quick search bar will show conversation with unread messages
1 parent c808aaa commit fb4076b

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Diff for: Changes

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
Revision history for perl distribution Convos
22

3+
5.25 Not Released
4+
- Entering "+" in the quick search bar will show conversation with unread messages
5+
36
5.24 2021-02-11T09:30:00+0900
47
- Will not show participants in sidebar if already visible on the right side
58
- Will not jump to the first conversation when leaving a conversation

Diff for: assets/components/ChatSidebar.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function filterNav() {
5454
5555
// Show and hide navigation links
5656
for (let p = 0; p < prefix.length; p++) {
57-
const filterRe = new RegExp(prefix[p] + regexpEscape(filter), 'i');
57+
const filterRe = filter == '+' ? new RegExp(/[1-9]\d*\s*$/) : new RegExp(prefix[p] + regexpEscape(filter), 'i');
5858
const seen = {};
5959
q(navEl, 'a', (aEl, i) => {
6060
const aClassList = aEl.classList;

0 commit comments

Comments
 (0)