| author | Stephen Paul Weber
<singpolyma@singpolyma.net> 2025-06-24 18:48:19 UTC |
| committer | Stephen Paul Weber
<singpolyma@singpolyma.net> 2025-06-24 18:48:19 UTC |
| parent | bdb272f53f90f01112edcf2e76d0b1c632cad420 |
| snikket/streams/XmppStropheStream.hx | +1 | -3 |
diff --git a/snikket/streams/XmppStropheStream.hx b/snikket/streams/XmppStropheStream.hx index 5287e45..4da6348 100644 --- a/snikket/streams/XmppStropheStream.hx +++ b/snikket/streams/XmppStropheStream.hx @@ -323,9 +323,7 @@ class XmppStropheStream extends GenericStream { var child = StropheStanza.get_children(el); while(child != null) { if (StropheStanza.is_text(child)) { - var r = StropheStanza.get_text_ptr(child); - var x = NativeString.fromPointer(ConstPointer.fromRaw(StropheStanza.get_text_ptr(child))); - stanza.text(x); + stanza.text(NativeString.fromPointer(ConstPointer.fromRaw(StropheStanza.get_text_ptr(child)))); } else { stanza.addChild(convertToStanza(child, null)); }