Commit 646840d7 authored by Dave Cridland's avatar Dave Cridland

OF-1288 Add missing attributes

This adds attributes mandated by MAM, by missing from the rendering in the
PacketExtension.
parent e9fad71e
......@@ -43,6 +43,11 @@
<h1>
Monitoring Plugin Changelog
</h1>
<p><b>1.5.6</b> -- February 16, 2016</p>
<ul>
<li>[<a href='https://igniterealtime.org/issues/browse/OF-1288'>OF-1288</a>] - Add missing queryid and id attributes</li>
</ul>
<p><b>1.5.5</b> -- December 19, 2016</p>
<ul>
<li>[<a href='https://igniterealtime.org/issues/browse/OF-1246'>OF-1246</a>] - Support MAM (XEP-0313) for MUC (XEP-0045)</li>
......
......@@ -5,7 +5,7 @@
<name>Monitoring Service</name>
<description>Monitors conversations and statistics of the server.</description>
<author>IgniteRealtime // Jive Software</author>
<version>1.5.5</version>
<version>1.5.6</version>
<date>4/27/2016</date>
<minServerVersion>4.0.99</minServerVersion><!-- Allows the beta 4.1.0 -->
<databaseKey>monitoring</databaseKey>
......
......@@ -11,6 +11,8 @@ import java.util.Date;
public final class Result extends PacketExtension {
public Result(Forwarded forwarded, String xmlns, String queryId, String id) {
super("result", xmlns);
element.addAttribute("queryid", queryId);
element.addAttribute("id", id);
element.add(forwarded.getElement());
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment