Fix incorrect pagination of notifications

This commit is contained in:
Roman Volosovskyi 2023-01-26 16:32:15 +01:00
parent 3553761cb5
commit fc03393e1b
No known key found for this signature in database
GPG Key ID: 0238A4B5ECEE70DE
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
0.125.1 0.125.2

View File

@ -377,7 +377,7 @@ func (db sqlitePersistence) buildActivityCenterQuery(tx *sql.Tx, params activity
a.contact_verification_status, a.contact_verification_status,
c.name, c.name,
a.author, a.author,
substr('0000000000000000000000000000000000000000000000000000000000000000' || a.timestamp, -64, 64) || a.id as cursor substr('0000000000000000000000000000000000000000000000000000000000000000' || a.timestamp, -64, 64) || hex(a.id) as cursor
FROM activity_center_notifications a FROM activity_center_notifications a
LEFT JOIN chats c LEFT JOIN chats c
ON ON