0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-09-25 04:18:55 +02:00
dendrite/userapi/consumers
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
..
clientapi.go refactor: update GMSL (#3058) 2023-04-19 15:50:33 +01:00
devicelistupdate.go refactor: update GMSL (#3058) 2023-04-19 15:50:33 +01:00
roomserver.go Use *spec.SenderID for QuerySenderIDForUser (#3164) 2023-08-02 11:12:14 +01:00
roomserver_test.go Optimise getting local members and membership counts (#3150) 2023-07-13 14:19:08 +02:00
signingkeyupdate.go Move json errors over to gmsl (#3080) 2023-05-09 22:46:49 +00:00