Do not discard the command sessionid in remote command results
authorMikael Berthe <mikael@lilotux.net>
Mon, 28 Apr 2008 18:54:55 +0200
changeset 1491 3d47694b4dcc
parent 1490 9d5a2f45addb
child 1492 563ba5a861ae
Do not discard the command sessionid in remote command results Thanks to js for the report.
mcabber/src/jab_iq.c
--- a/mcabber/src/jab_iq.c	Thu Apr 24 20:31:02 2008 +0200
+++ b/mcabber/src/jab_iq.c	Mon Apr 28 18:54:55 2008 +0200
@@ -1206,6 +1206,7 @@
                                        message ? message : "");
         cmd_setstatus(NULL, status);
         g_free(status);
+        xmlnode_put_attrib(command, "sessionid", sessionid);
         xmlnode_put_attrib(command, "status", "completed");
         xmlnode_put_attrib(iq, "type", "result");
         xmlnode_insert_dataform_result_message(command,