aboutsummaryrefslogtreecommitdiff
path: root/LICENSE
diff options
context:
space:
mode:
authorkegsay <kegan@matrix.org>2022-02-02 13:30:48 +0000
committerGitHub <noreply@github.com>2022-02-02 13:30:48 +0000
commit2dee706f9ef2de70516dbc993dcfc8ec6f7fdd52 (patch)
treef630022242b4d22970b5c8ca5d13ca9c73428cff /LICENSE
parenta09d71d231861f8825a4f8f1dfd79311c4c236a6 (diff)
PerformInvite: bugfix and rejig control flow (#2137)
* PerformInvite: bugfix and rejig control flow Local clients would not be notified of invites to rooms Dendrite had already joined in all cases due to not returning an `api.OutputNewInviteEvent` for local invites. We now do this. This was an easy mistake to make due to the control flow of the function which doesn't handle the happy case at the end of the function and instead forks the function depending on if the invite was via federation or not. This has now been changed to handle the federated invite as if it were an error (in that we check it, do it and bail out) rather than outstay our welcome. This ends up with the local invite being the happy case, which now both sends an `InputRoomEvent` to the roomserver _and_ a `api.OutputNewInviteEvent` is returned. * Don't send invite pokes in PerformInvite * Move event ID into logger
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions