powered by Jive Software

Order of reply from DiscussionHistory request

I’'m using Smack 2.2.1 and Widlfire 3.1.1.

I’'m specifying DiscussionHistory when I join my MUC room as:

DiscussionHistory dh = new DiscussionHistory();

dh.setMaxStanzas(10);

So I will receive (up to) 10 messages from my Wildfire server when I join my MUC room. The messages are ordered from oldest to newest.

I only want, however, the latest message. Is there a way to specify the order that discussion history is received (either via a Smack property or server configuration), so I can get it from newest to oldest?