0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-11-13 21:31:08 +01:00
dendrite/roomserver/internal/perform
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
..
perform_admin.go Use *spec.SenderID for QuerySenderIDForUser (#3164) 2023-08-02 11:12:14 +01:00
perform_backfill.go Add MXIDMapping for pseudoID rooms (#3112) 2023-06-28 20:29:49 +02:00
perform_create_room.go [pseudoIDs] Fixes for room alias tests (#3159) 2023-07-31 14:39:41 +01:00
perform_forget.go Implement forgetting about rooms (#1572) 2020-11-05 10:19:23 +00:00
perform_inbound_peek.go Merge SenderID & Per Room User Key work (#3109) 2023-06-14 14:23:46 +00:00
perform_invite.go Use *spec.SenderID for QuerySenderIDForUser (#3164) 2023-08-02 11:12:14 +01:00
perform_join.go Use *spec.SenderID for QuerySenderIDForUser (#3164) 2023-08-02 11:12:14 +01:00
perform_leave.go Use *spec.SenderID for QuerySenderIDForUser (#3164) 2023-08-02 11:12:14 +01:00
perform_peek.go Fix newly found linter issues (#3099) 2023-06-02 15:48:04 +02:00
perform_publish.go
perform_unpeek.go
perform_upgrade.go Use *spec.SenderID for QuerySenderIDForUser (#3164) 2023-08-02 11:12:14 +01:00