index
:
limox
legacy/gtk4-libstrophe
legacy/sdl2
main
roster-gui
session-struct
update
The Linux on mobile XMPP (LimoX) client
summary
refs
log
tree
commit
diff
log msg
author
committer
range
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
-rw-r--r--
xmpp.go
3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmpp.go b/xmpp.go
index 015b9e1..a0aaba7 100644
--- a/
xmpp.go
+++ b/
xmpp.go
@@ -80,7 +80,8 @@ func (r *xmppReceiver) run() {
log.Print(err)
}
if t != nil {
- r.data <- t
+ c := xml.CopyToken(t)
+ r.data <- c
}
}
}