mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-08-02 14:12:47 +00:00
Clean up a bit
This commit is contained in:
parent
6016d378a0
commit
e874853ed0
4 changed files with 5 additions and 12 deletions
|
@ -214,7 +214,8 @@ func (r *Inputer) InputRoomEvents(
|
|||
for _, task := range tasks {
|
||||
if task.err != nil {
|
||||
response.ErrMsg = task.err.Error()
|
||||
_, response.NotAllowed = task.err.(*gomatrixserverlib.NotAllowed)
|
||||
_, rejected := task.err.(*gomatrixserverlib.NotAllowed)
|
||||
response.NotAllowed = rejected
|
||||
return
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue