From: Shane Synan Date: Fri, 10 Jul 2020 21:23:18 +0000 (-0400) Subject: core: Fix/unify SQL for forward message fetch X-Git-Tag: 0.14-rc1~39 X-Git-Url: https://git.quassel-irc.org/?a=commitdiff_plain;h=76883c546324b1fb80f465421d4e3c7732505852;hp=76883c546324b1fb80f465421d4e3c7732505852;p=quassel.git core: Fix/unify SQL for forward message fetch NOTE: This commit should be squashed into the previous commit from justJanne. It's committed separately just to make it easier to see what I changed. Fixup the SQLite and PostgreSQL queries to treat "<= 0" as any type/flag instead of just "= 0". This matches the function definitions and fixes specifying "-1" instead of "0". Without this change, specifying "-1" will result in missing messages! ---