From 1446509513a18d0a90546e48938713c05137de16 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 21 May 2023 12:08:30 +0200 Subject: Fix token routing --- xmpp/routing.go | 1 + 1 file changed, 1 insertion(+) (limited to 'xmpp/routing.go') 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: -- cgit v1.2.3-70-g09d2