powered by Jive Software

How to get participant's username from chat history with API calls?

I’m writing a chat transcript retrieval plugin using openfire API. I can get a Message iterator of past chat history by calling MUCRoom.getRoomHistory().getReverseMessageHistory. However, what I get from calling getFrom() method on the Message object in the list is always the room JID. My question is, how could I get the username of the participant who sent the message? Thanks in advance!

1 Like