changeset 1491:3d47694b4dcc

Do not discard the command sessionid in remote command results Thanks to js for the report.
author Mikael Berthe <mikael@lilotux.net>
date Mon, 28 Apr 2008 18:54:55 +0200
parents 9d5a2f45addb
children 563ba5a861ae
files mcabber/src/jab_iq.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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,