diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2022-05-24 10:22:26 +0100 |
---|---|---|
committer | Neil Alexander <neilalexander@users.noreply.github.com> | 2022-05-24 10:22:26 +0100 |
commit | ead0112aa15d6988aaab71aa8cd5aab0e70f7bf0 (patch) | |
tree | 76c7f078d17ef667bcba867abb166cf950d9bd31 | |
parent | 7379b02b703ff6cd56a0eb806aeb5249b09232c0 (diff) |
Fix `join_authorised_via_users_server` key name in `SendEvent`
-rw-r--r-- | clientapi/routing/sendevent.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clientapi/routing/sendevent.go b/clientapi/routing/sendevent.go index b8a7fe98..70bf72f8 100644 --- a/clientapi/routing/sendevent.go +++ b/clientapi/routing/sendevent.go @@ -108,7 +108,7 @@ func SendEvent( // via key if it is present, otherwise other servers won't be able to auth // the event if the room is set to the "restricted" join rule. if eventType == gomatrixserverlib.MRoomMember { - delete(r, "join_authorised_by_users_server") + delete(r, "join_authorised_via_users_server") } evTime, err := httputil.ParseTSParam(req) |