powered by Jive Software

How to get Discussion History in MUC ...?

Hello.

I wonder, how can I get Discussion History in MUC without entering a room ? For example, I’'m some kind of admin and I want to get a history from any room I specify …

By the way, does this history destroyed after the room is removed or there is some kind of logging ?

Thanks

Hey Dmitry,

The MUC spec does not allow non-occupants to get the history of the room. From your final comment it seems to me that you want to get the complete chat transcript (which is different than the room history). The room history may contain only a certain number of messages while the transcript contains the complete log.

To get the complete chat transcript you will need to rely on server extensions which is something that may vary between servers since this is not a standard requirement defined by the MUC spec. In summary, you will need to find a server that lets you get the chat transcript and then extend Smack to get that info.

Regards,

– Gato

Thanks a lot.

I think I consider to choose something like MySQL to hold all messages log and create a component which will receive BCC from server …