Fix incorrect pagination of notifications
This commit is contained in:
parent
3553761cb5
commit
fc03393e1b
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue