mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-08-02 14:12:47 +00:00
Try to process local restricted joins
This commit is contained in:
parent
84fd88052b
commit
498fbc277b
2 changed files with 95 additions and 3 deletions
|
@ -214,8 +214,7 @@ func (r *Inputer) InputRoomEvents(
|
|||
for _, task := range tasks {
|
||||
if task.err != nil {
|
||||
response.ErrMsg = task.err.Error()
|
||||
_, rejected := task.err.(*gomatrixserverlib.NotAllowed)
|
||||
response.NotAllowed = rejected
|
||||
_, response.NotAllowed = task.err.(*gomatrixserverlib.NotAllowed)
|
||||
return
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue