dendrite/roomserver/api
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
..
alias_test.go Fix lint errors 2022-03-24 10:03:22 +00:00
alias.go [pseudoIDs] Fixes for room alias tests (#3159) 2023-07-31 14:39:41 +01:00
api.go Use *spec.SenderID for QuerySenderIDForUser (#3164) 2023-08-02 11:12:14 +01:00
input.go Remove gmsl.HeaderedEvent (#3068) 2023-04-27 12:54:20 +01:00
output.go Cleanup remaining statekey usage for senderIDs (#3106) 2023-06-12 11:19:25 +00:00
perform.go Add pseudoID compatibility to Invites (#3126) 2023-07-06 15:15:24 +00:00
query.go de-MSC-ifying space summaries (MSC2946) (#3134) 2023-07-20 15:06:05 +01:00
wrapper.go Move json errors over to gmsl (#3080) 2023-05-09 22:46:49 +00:00