0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-11-13 21:31:08 +01:00
dendrite/roomserver/internal
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
..
helpers Merge SenderID & Per Room User Key work (#3109) 2023-06-14 14:23:46 +00:00
input Fix event federation with pseudoID rooms (#3156) 2023-07-21 16:08:40 +00:00
perform Use *spec.SenderID for QuerySenderIDForUser (#3164) 2023-08-02 11:12:14 +01:00
query Use *spec.SenderID for QuerySenderIDForUser (#3164) 2023-08-02 11:12:14 +01:00
alias.go [pseudoIDs] Fixes for room alias tests (#3159) 2023-07-31 14:39:41 +01:00
api.go Fix event federation with pseudoID rooms (#3156) 2023-07-21 16:08:40 +00:00