mirror of
https://github.com/1f349/dendrite.git
synced 2024-11-21 19:21:39 +00:00
c7193e24d0
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>` |
||
---|---|---|
.. | ||
api | ||
consumers | ||
internal | ||
producers | ||
storage | ||
types | ||
util | ||
userapi_test.go | ||
userapi.go |