mirror of
https://github.com/maubot/maubot
synced 2025-08-29 20:10:39 +00:00
Use *maubot.Event everywhere to remove reply fallback bugs
This commit is contained in:
parent
944b384633
commit
5b04962ac7
4 changed files with 33 additions and 41 deletions
|
@ -135,7 +135,7 @@ func (s *MaubotSyncer) notifyListeners(mxEvent *gomatrix.Event) {
|
|||
return
|
||||
}
|
||||
for _, fn := range listeners {
|
||||
if fn(event.Interface()) {
|
||||
if fn(event.Event) {
|
||||
break
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue