diff options
author | xengineering <me@xengineering.eu> | 2023-05-21 12:08:30 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2023-05-21 12:08:30 +0200 |
commit | 1446509513a18d0a90546e48938713c05137de16 (patch) | |
tree | 45a44c0e04359b452e19bd685e8ea7604ecb2724 /xmpp/routing.go | |
parent | e386931283f3752d581530665a9c6616851aa536 (diff) | |
download | limox-1446509513a18d0a90546e48938713c05137de16.tar limox-1446509513a18d0a90546e48938713c05137de16.tar.zst limox-1446509513a18d0a90546e48938713c05137de16.zip |
Fix token routing
Diffstat (limited to 'xmpp/routing.go')
-rw-r--r-- | xmpp/routing.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xmpp/routing.go b/xmpp/routing.go index 8af3190..c691af3 100644 --- a/xmpp/routing.go +++ b/xmpp/routing.go @@ -30,6 +30,7 @@ func (r *tokenRouter) route(t xml.Token) error { r.level += 1 if r.level == 1 { r.start = unwrapped + r.buffer = r.buffer[:0] // call start handler } case xml.EndElement: |