mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-26 15:08:28 +00:00
Fix join_authorised_via_users_server
key name in SendEvent
This commit is contained in:
parent
7379b02b70
commit
ead0112aa1
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue