]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib: event-filter - Fix matching duration field
authorAki Tuomi <aki.tuomi@open-xchange.com>
Tue, 15 Nov 2022 11:22:16 +0000 (13:22 +0200)
committerAki Tuomi <aki.tuomi@open-xchange.com>
Tue, 15 Nov 2022 12:11:41 +0000 (14:11 +0200)
commit38d7364a2ece840737d45e77623fcef04df8e924
treeefe3ee360c97bfdf7f88a8db076c6b076cab71ce
parent17f0d3c2932bdbc235ace1624a59aa505bd31eb2
lib: event-filter - Fix matching duration field

If duration field is used in event filter, it cannot be matched
here as no such field exists. We need to actually synthesize the
field here for matching.
src/lib/event-filter.c
src/lib/test-event-filter.c