Muc History

I’m trying to get a dynamic number of muc history messages when a user joins a room.

I see in the Openfire Admin pages that I can a) no history b) entire history and c) x number of messages.

All three of these settings do exactly as they say.

My problem is that upon joining a room, I only want history since the last message that user has in his own local cache. The xmpp spec says that I can add an extension when joining to tell the xmpp server what history I want. I’ve added this and for now am just using ‘maxstanzas = x’ for simplicity. My problem is that no matter what I set maxstanzas to, I receive the history as dictated by Openfire’s setting. It seems as if Openfire ignores the muc extension passed when joining altogether.

Anyone have any ideas?