mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-21 05:43:09 -06:00
Use transaction origin, update whitelist
This commit is contained in:
parent
adfefb5c12
commit
e4ae1a1bb7
|
|
@ -168,7 +168,7 @@ func (t *txnReq) processTransaction() (*gomatrixserverlib.RespSend, *util.JSONRe
|
||||||
util.GetLogger(t.context).WithError(err).Warnf("Transaction: Failed to parse event JSON of event %s", string(pdu))
|
util.GetLogger(t.context).WithError(err).Warnf("Transaction: Failed to parse event JSON of event %s", string(pdu))
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if currentstateAPI.IsServerBannedFromRoom(t.context, t.stateAPI, event.RoomID(), event.Origin()) {
|
if currentstateAPI.IsServerBannedFromRoom(t.context, t.stateAPI, event.RoomID(), t.Origin) {
|
||||||
results[event.EventID()] = gomatrixserverlib.PDUResult{
|
results[event.EventID()] = gomatrixserverlib.PDUResult{
|
||||||
Error: "Forbidden by server ACLs",
|
Error: "Forbidden by server ACLs",
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -436,3 +436,12 @@ User directory correctly update on display name change
|
||||||
User in shared private room does appear in user directory
|
User in shared private room does appear in user directory
|
||||||
User in dir while user still shares private rooms
|
User in dir while user still shares private rooms
|
||||||
Can get 'm.room.name' state for a departed room (SPEC-216)
|
Can get 'm.room.name' state for a departed room (SPEC-216)
|
||||||
|
Banned servers cannot send events
|
||||||
|
Banned servers cannot /make_join
|
||||||
|
Banned servers cannot /send_join
|
||||||
|
Banned servers cannot /make_leave
|
||||||
|
Banned servers cannot /send_leave
|
||||||
|
Banned servers cannot /invite
|
||||||
|
Banned servers cannot get room state
|
||||||
|
Banned servers cannot /event_auth
|
||||||
|
Banned servers cannot get missing events
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue