0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-06-01 12:08:55 +02:00
dendrite/setup
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
..
base Move fedclient interface over to gmsl (#3061) 2023-04-24 16:23:25 +00:00
config de-MSC-ifying space summaries (MSC2946) (#3134) 2023-07-20 15:06:05 +01:00
jetstream Set max age for roomserver input stream to avoid excessive interior deletes (#3145) 2023-07-07 19:59:34 +02:00
mscs Use *spec.SenderID for QuerySenderIDForUser (#3164) 2023-08-02 11:12:14 +01:00
process Fix flaky test in process context 2023-05-03 18:21:33 -06:00
flags.go Remove polylith/API mode (#2967) 2023-02-14 12:47:47 +01:00
monolith.go Use pointer when passing the connection manager around (#3152) 2023-07-19 13:37:04 +02:00