mirror of
https://github.com/maubot/maubot
synced 2025-08-29 23:30:39 +00:00
Add command spec parsing/handler execution
This commit is contained in:
parent
307a32e0c0
commit
4536fcfe62
9 changed files with 282 additions and 37 deletions
|
@ -135,7 +135,7 @@ func (s *MaubotSyncer) notifyListeners(mxEvent *gomatrix.Event) {
|
|||
return
|
||||
}
|
||||
for _, fn := range listeners {
|
||||
if fn(event.Event) {
|
||||
if fn(event.Event) == maubot.StopEventPropagation {
|
||||
break
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue