thelounge/client
Reto Brunner 51c9ce078d Search: fix off by one offset error
Offset is eventually passed to sqlite as an OFFSET clause.

This works as follows:

sqlite> select num from seq limit 5 offset 0;
┌─────┐
│ num │
├─────┤
│ 1   │
│ 2   │
│ 3   │
│ 4   │
│ 5   │
└─────┘

sqlite> select num from seq limit 5 offset 5;
┌─────┐
│ num │
├─────┤
│ 6   │
│ 7   │
│ 8   │
│ 9   │
│ 10  │
└─────┘

However, the code currently emits a request for offset + 1, which ends
up skipping a message

sqlite> select num from seq limit 5 offset 5+1;
┌─────┐
│ num │
├─────┤
│ 7   │
│ 8   │
│ 9   │
│ 10  │
│ 11  │
└─────┘
2022-11-15 18:50:52 +01:00
..
audio Change alert sound from ogg to wav 2018-07-17 09:14:58 +03:00
components Search: fix off by one offset error 2022-11-15 18:50:52 +01:00
css TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
img Move favicon.ico to the root folder 2019-03-18 12:56:52 +02:00
js Added client type checking to webpack (#4619) 2022-08-23 00:26:07 -07:00
themes Bump most deps (#4453) 2022-02-09 15:27:34 -08:00
favicon.ico Move favicon.ico to the root folder 2019-03-18 12:56:52 +02:00
index.html.tpl TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
robots.txt Normalize line endings 2014-09-13 14:29:45 -07:00
service-worker.js TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
shims-vue.d.ts TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
thelounge.webmanifest Fix off-by-one color error in webmanifest 2020-04-19 20:46:37 -04:00
tsconfig.json Added client type checking to webpack (#4619) 2022-08-23 00:26:07 -07:00