aboutsummaryrefslogtreecommitdiff
path: root/xmpp-vala/src/module/iq
diff options
context:
space:
mode:
Diffstat (limited to 'xmpp-vala/src/module/iq')
-rw-r--r--xmpp-vala/src/module/iq/stanza.vala1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmpp-vala/src/module/iq/stanza.vala b/xmpp-vala/src/module/iq/stanza.vala
index 561c5866..8f114c9f 100644
--- a/xmpp-vala/src/module/iq/stanza.vala
+++ b/xmpp-vala/src/module/iq/stanza.vala
@@ -23,6 +23,7 @@ public class Stanza : Xmpp.Stanza {
public Stanza.result(Stanza request, StanzaNode? stanza_node = null) {
this(request.id);
+ this.to = request.from;
this.type_ = TYPE_RESULT;
if (stanza_node != null) {
stanza.put_node(stanza_node);