dendrite/syncapi/storage
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
..
postgres Use pointer when passing the connection manager around (#3152) 2023-07-19 13:37:04 +02:00
shared Use *spec.SenderID for QuerySenderIDForUser (#3164) 2023-08-02 11:12:14 +01:00
sqlite3 Use pointer when passing the connection manager around (#3152) 2023-07-19 13:37:04 +02:00
tables Tweaks around /messages (#3149) 2023-07-13 14:18:37 +02:00
interface.go Tweaks around /messages (#3149) 2023-07-13 14:18:37 +02:00
storage_test.go Tweaks around /messages (#3149) 2023-07-13 14:18:37 +02:00
storage_wasm.go Preparations for removing BaseDendrite (#3016) 2023-03-17 11:09:45 +00:00
storage.go Use pointer when passing the connection manager around (#3152) 2023-07-19 13:37:04 +02:00