Skip to content

Commit 52887eb

Browse files
authored
bucket notifications - go on to next event when checking event filters (gh issue 8652) (#8659)
Signed-off-by: Amit Prinz Setter <alphaprinz@gmail.com>
1 parent fa24e9b commit 52887eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/notifications_util.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ function check_notif_relevant(notif, req) {
445445
const notif_event_elems = notif_event.split(':');
446446
const notif_event_name = notif_event_elems[1];
447447
const notif_event_method = notif_event_elems[2];
448-
if (notif_event_name.toLowerCase() !== op_event.name.toLowerCase()) return false;
448+
if (notif_event_name.toLowerCase() !== op_event.name.toLowerCase()) continue;
449449
//is there filter by method?
450450
if (notif_event_method === '*') {
451451
//no filtering on method. we've passed the filter and need to send a notification

0 commit comments

Comments
 (0)