Multiple MUC subjects in the Chat History


As some of you might have guessed, I’'m currently working on a MUC implementation

While developing it, I stumbled upon another issue recently (this one is in Wildfire, the server I’'m verifying my implementation against):

When the room’‘s subject is changed twice in a row, and then someone enters the room, both subjects are transferred to the new user, which doesn’‘t make much sense. The JEP isn’'t explicit about it, but it states:

In addition, the room SHOULD include the last subject change in the discussion history sent when a new occupant joins the room.

It’'s only a SHOULD, but it clearly states that only the last one should be sent.