dendrite/syncapi/storage/shared
Sam Wedgwood c7193e24d0
Use *spec.SenderID for QuerySenderIDForUser (#3164)
There are cases where a dendrite instance is unaware of a pseudo ID for
a user, the user is not a member of that room. To represent this case,
we currently use the 'zero' value, which is often not checked and so
causes errors later down the line. To make this case more explict, and
to be consistent with `QueryUserIDForSender`, this PR changes this to
use a pointer (and `nil` to mean no sender ID).

Signed-off-by: `Sam Wedgwood <sam@wedgwood.dev>`
2023-08-02 11:12:14 +01:00
..
storage_consumer_test.go Add sync API db tests (#3043) 2023-04-17 10:25:33 +01:00
storage_consumer.go Use *spec.SenderID for QuerySenderIDForUser (#3164) 2023-08-02 11:12:14 +01:00
storage_sync_test.go Move GMSL client types to Dendrite (#3045) 2023-04-04 17:16:53 +00:00
storage_sync.go Tweaks around /messages (#3149) 2023-07-13 14:18:37 +02:00