dendrite/syncapi/streams
texuf 4e30e03345 Fix broken notification incremental sync
I was not seeing unread notifications in sync, even if they were written to the db

Notifications are in their own stream, but the code was trying to tack them onto the join room stream. If the offsets “happened” to line up, you might get a count here or there, but they would be totally wrong (jump from 1 to 0 to 2, etc)

To fix, put them in their own top level object, handle them on the client.

Signed-off-by: Austin Ellis <austin@hntlabs.com>
2022-09-13 12:17:16 -07:00
..
stream_accountdata.go syncapi: define specific interfaces for internal HTTP communications (#2416) 2022-05-05 09:56:03 +01:00
stream_devicelist.go Use sync API database in filterSharedUsers (#2572) 2022-07-15 16:25:26 +01:00
stream_invite.go Only return non-retired invites (#2643) 2022-08-16 10:29:36 +02:00
stream_notificationdata.go Fix broken notification incremental sync 2022-09-13 12:17:16 -07:00
stream_pdu.go Tweak LoadMembershipAtEvent behaviour when state not known (#2716) 2022-09-13 12:52:09 +01:00
stream_presence.go Fetch more data for newly joined rooms in an incremental sync (#2657) 2022-08-19 15:32:24 +02:00
stream_receipt.go Don't send account data or receipts for left/forgotten rooms (#2382) 2022-04-27 12:03:34 +01:00
stream_sendtodevice.go Send-to-device/sync tweaks (#2630) 2022-08-09 10:40:46 +02:00
stream_typing.go Add possibility to ignore users (#2329) 2022-04-07 15:08:19 +01:00
streams.go Invalidate lazyLoadCache if we're doing an initial sync (#2623) 2022-08-05 14:27:27 +02:00
template_stream.go Sync refactor — Part 1 (#1688) 2021-01-08 16:59:06 +00:00