0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-09-28 13:58:58 +02:00
dendrite/federationapi/routing
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
..
backfill.go Make StrictValidityChecking a function (#3092) 2023-06-06 15:16:55 +02:00
devices.go Move MakeJoin logic to GMSL (#3081) 2023-05-17 00:33:27 +00:00
eventauth.go Cleanup remaining statekey usage for senderIDs (#3106) 2023-06-12 11:19:25 +00:00
events.go Cleanup remaining statekey usage for senderIDs (#3106) 2023-06-12 11:19:25 +00:00
invite.go Add pseudoID compatibility to Invites (#3126) 2023-07-06 15:15:24 +00:00
join.go Use *spec.SenderID for QuerySenderIDForUser (#3164) 2023-08-02 11:12:14 +01:00
keys.go Move MakeJoin logic to GMSL (#3081) 2023-05-17 00:33:27 +00:00
leave.go Use *spec.SenderID for QuerySenderIDForUser (#3164) 2023-08-02 11:12:14 +01:00
missingevents.go Move MakeJoin logic to GMSL (#3081) 2023-05-17 00:33:27 +00:00
openid.go Move json errors over to gmsl (#3080) 2023-05-09 22:46:49 +00:00
peek.go Move MakeJoin logic to GMSL (#3081) 2023-05-17 00:33:27 +00:00
profile.go Don't HTTP500 if a profile does't exist 2023-07-14 14:24:31 +02:00
profile_test.go Use PDU in even more places (#3074) 2023-05-03 10:21:27 +01:00
publicrooms.go Move MakeJoin logic to GMSL (#3081) 2023-05-17 00:33:27 +00:00
query.go de-MSC-ifying space summaries (MSC2946) (#3134) 2023-07-20 15:06:05 +01:00
query_test.go Use PDU in even more places (#3074) 2023-05-03 10:21:27 +01:00
routing.go de-MSC-ifying space summaries (MSC2946) (#3134) 2023-07-20 15:06:05 +01:00
send.go Make StrictValidityChecking a function (#3092) 2023-06-06 15:16:55 +02:00
send_test.go Use PDU in even more places (#3074) 2023-05-03 10:21:27 +01:00
state.go Cleanup remaining statekey usage for senderIDs (#3106) 2023-06-12 11:19:25 +00:00
threepid.go Merge SenderID & Per Room User Key work (#3109) 2023-06-14 14:23:46 +00:00
version.go Version imprint (#1383) 2020-09-02 16:18:08 +01:00